Hi guys. I have implemented a RadGrid with Edit and Insert Mode and filter capabilities.
When filtering the RadGrid while in edit mode, the edited row seems to be based on the row number, eg, when I'm editing row number 3, and while editing, the grid is filtered, the edited row remains at row number 3 even though the row of the record I'm currently editing may have changed.
For Example, if I'm doing auto CRUD on this table with in place editing
[id] [code]
-----------------------
[01] codeX
[02] codeY
[03] codeY
and the row being edited is the 2nd one ([02] codeY)
if a filter (using the RadGrid default filter) is done on Code "EqualTo" 'codeY' such that the result becomes
[id] [code]
-----------------------
[02] codeY
[03] codeY
the edited row is still the 2nd one ([03] codeY) even though the row originally being edited is ([02] codeY)
Is this the expected behaviour, or is there are way to instruct the RadGrid to look for the record to set the edit mode on that particular record again? If not, is there a way to automatically cancel edit mode/insert mode just before filtering? Or to disable all filtering controls while user is in edit/insert mode? Thanks for reading.
(this is a repost of http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-cancel-edit-mode-when-filtering.aspx, i couldn't figure out how to change the topic title or delete that post, sorry)
When filtering the RadGrid while in edit mode, the edited row seems to be based on the row number, eg, when I'm editing row number 3, and while editing, the grid is filtered, the edited row remains at row number 3 even though the row of the record I'm currently editing may have changed.
For Example, if I'm doing auto CRUD on this table with in place editing
[id] [code]
-----------------------
[01] codeX
[02] codeY
[03] codeY
and the row being edited is the 2nd one ([02] codeY)
if a filter (using the RadGrid default filter) is done on Code "EqualTo" 'codeY' such that the result becomes
[id] [code]
-----------------------
[02] codeY
[03] codeY
the edited row is still the 2nd one ([03] codeY) even though the row originally being edited is ([02] codeY)
Is this the expected behaviour, or is there are way to instruct the RadGrid to look for the record to set the edit mode on that particular record again? If not, is there a way to automatically cancel edit mode/insert mode just before filtering? Or to disable all filtering controls while user is in edit/insert mode? Thanks for reading.
(this is a repost of http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-cancel-edit-mode-when-filtering.aspx, i couldn't figure out how to change the topic title or delete that post, sorry)