I have a master details setup where all of my items are in a listview that uses a template to show a summary of their details. Once an item is selected, another template is renderend that shows an editable form for the selected item. I am not using the Edit functionality of the listview. I would like to prevent the user from selecting a different item if the currently selected item isDirty.
My question is, would it be best to set Selectable=False when the current item has changes and then to True after changes have been saved/cancelled or is there a better way to handle this scenario? Would changing the Selectable value even work or is this something that can only be set during initialization?
Based on similar posts, there seems to be many requests for an event to cancel the Change event of the listView. I hate to ask, but are there any plans to implement this functionality?
I am also experiencing an issue where the uid of the selected listview item seems to change when cancelChanges is called on the underlying datasource. Is this expected behavior?
thanks,
My question is, would it be best to set Selectable=False when the current item has changes and then to True after changes have been saved/cancelled or is there a better way to handle this scenario? Would changing the Selectable value even work or is this something that can only be set during initialization?
Based on similar posts, there seems to be many requests for an event to cancel the Change event of the listView. I hate to ask, but are there any plans to implement this functionality?
I am also experiencing an issue where the uid of the selected listview item seems to change when cancelChanges is called on the underlying datasource. Is this expected behavior?
thanks,