IsDirty Flag?

Does the list view (or really any) control have an easy way of determining if the data has been touched?  This would greatly assist when trying to prevent the user from losing data.

Thank you!

1 Reply

CI Christopher Issac Sunder K Syncfusion Team October 25, 2018 12:20 PM UTC

Hi Tony, 

Thank you for contacting Syncfusion support. 

The EJ2 Listview component is a "Layout" component. The "Form" components like Slider, Checkbox, Radio button..etc will only support dirty flag by angular. All the EJ2 Forms component support Angular dirty checking. So it is not possible to check whether the Listview has been touched using "dirty" flag. However you can use workaround for this issue by utilizing "select" event in the Listview component to determine whether the user has touched it or not. 
The "select" event will be triggered whenever user interact with listview. 


Please let us know if you need any further assistance. 

Thanks, 
Christo

Loader.
Up arrow icon