Hi,
When using SfGrid with Virtualization enabled, and a customer data adapter, if records are added or removed from the underlying data source the grid.Refresh() does not refresh the grid unless it is executed twice. The data adapter is Read() on every Refresh() call, but the grid itself does not reflect the added/deleted rows unless executed twice.
Furthermore, if within a "refresh" method you call grid.Refresh() x2 the grid still won't refresh, you have to trigger the refresh event callback method twice.
Sample project included. Steps to reproduce:
- Click "ScrollIssue" menu
- Click Insert button 1 or more times
- Click Refresh - grid does not show Insert button, although data adapter Read() is executed
- Click Refresh again - grid now refreshes
Thanks,
James
Attachment:
Syncfusion_Scroll_Issue_3a89d9b.zip