Losing data in detail grid when Grid Collapse Expand

Hi,


I add a detail grid under the grid, when I collapse and expand the first grid, my data in the detail grid is lost. I also share the screenshot with you


What should I do so that the data is not lost?


Thanks in Advance.


Attachment: BatchMode_3aae919e.zip


1 Reply

PS Prathap Senthil Syncfusion Team July 12, 2023 11:51 AM UTC

Hi Mustafa,

Query:” I add a detail grid under the grid, when I collapse and expand the first grid, my data in the detail grid is lost”

Based on the information provided, it appears that the screen recording captures the addition of data to the detail grid but does not update the data in the data source. To prevent data loss, we recommend using the update button to update the data source after adding the data. This is the default behavior of the grid.

To assist you further, we have created a sample for your reference. You can find the attached sample with this response.


Regards,
Prathap S


Attachment: DataGridwithDetailsTemplate._c077ff6e.zip

Loader.
Up arrow icon