Hi there,
Our users are complaining about a bug in the MVC TreeGrid, and I am hoping you can give me some assistance.
When RowEditing is turned on, and the number of rows in the grid is such that the grid scrolls vertically (and the scroll bar appears), the following bug occurs.
Please try performing these exact steps:
1. Double click a cell.
2. Enter a new value in that cell.
3. Press the mouse button down on a different row, and without releasing the button, drag up or down slightly to scroll the grid.
4. Release the mouse button.
You will notice that the edit is lost - the value in the grid reverts back to what it was, and also, any custom formatting created by using QueryCellInfo is lost also, because the handler defined with the QueryCellInfo client side event is not called again.
You can see this in action on your own demo grid: http://mvc.syncfusion.com/demos/web/treegrid/treegridlocalbinding
However, I have also attached a project where you can see that the custom QueryCellInfo formatting is lost as well. Please note - I had to remove the Content/ej and Scripts/ej folders from the zip file as it made it just too big.
I don't believe this is expected behaviour. Can you please look into this, and tell me if there is any way this behaviour can be corrected? Several users have reported this and they aren't happy about it.
Ideally you could tell me how to stop the grid scrolling when you drag the mouse - I don't really like this behaviour and there is no obvious way to turn it off. If we could turn it off, then that would hopefully fix the problem of the edit value and formatting being lost.
Regards,
Matthew
Attachment:
TreeGridEditFailure2_3a99b589.zip