It seems the editors don't support a knockout dataSource yet. Is this correct?
I am asking because I dislike the row updating in Infragistics grid and want to make my own form using the knockout datasource and infragistics components.
Yes, it does :)
Thanks for the great service on this forum!
So Now everything works as you need it? Is this correct
Sorry for wasting your time.
While working on a sample i noticed I forgot (actually did not know) I had to include a separate javascript file for the editor datasource.
Thanks again!
Hi Erwin,
On first sight everything looks ok to me into the code. It should work the way you are explaining. Can you sent me an example you can cut the ds to 2-3 records, just for the test.
That will be the fastest way to help you directly on your sample.
Thanks,
Thank you for your reply!
I am still having problems though.
When I use knockout with a simple input box I can do this:
<div><label>ID:</label><input type="text" class="testinput" data-bind="value: data['books']()[1].ID" /></div>
This works, and gives the ID of the second book in my datasource. So when using igNumericEditor I guess it should work like this too:
<div><label>ID:</label><input type="text" class="testinput" data-bind="igNumericEditor: { value: data['books']()[1].ID }" /></div>
This doen't do anything: no error, no result or anything. Referencing the full viewmodel like this:
<div><label>ID:</label><input type="text" class="testinput" data-bind="igNumericEditor: { value: myNameSpace.viewModel.data['books']()[1].ID }" /></div>
doesn't work either. (no error)
It is possible to use a single value in the datasource I presume? Am I still doing something wrong?