This is a migrated thread and some comments may be shown as answers.
Editable list view with datasource filter bug
1 Answer 61 Views
This is a migrated thread and some comments may be shown as answers.
Chris Foster
Top achievements
Rank 1
Chris Foster asked on 26 Jul 2012, 10:35 AM
If I add a filter to the datasource of a listview, the listview.Add() method edits the first list item.  I have copied the listview editing sample and added a filter to demonstrate the problem.

http://jsfiddle.net/ChrisFoster/dND4h/1/

1 Answer, 1 is accepted

Sort by
0
Chris Foster
Top achievements
Rank 1
answered on 26 Jul 2012, 11:08 AM
It was my fault..  I was not setting a default value to ensure that my newly added item was within the filter constraint.

Here it is working:

http://jsfiddle.net/ChrisFoster/dND4h/4/
Asked by
Chris Foster
Top achievements
Rank 1
Answers by
Chris Foster
Top achievements
Rank 1
Share this question
or