This question is locked. New answers and comments are not allowed.
Hi,
I am using the RowDetailsTemplate to show the meta data of that Row. In my scenario, user has provision to select multiple rows & delete at a time. If the user is selecting multiple rows either using the "Shift"/"Ctrl" key, then the row details should not be displayed.
I tried to subscribe to the "LoadingRowDetails" event, when this event is fired, then based on the condition (If Shift/Ctrl) key is pressed, i was setting the Visibility property to collapsed. However, since this event will be fired only once for each row & if the user has not deleted that row but later wants to see the details it will not be possible since visibility of the DetailsElement template is collapsed. Please let me know how can i achieve this.
e.DetailsElement.Visibility = System.Windows.Visibility.Collapsed;
Thanks,
Mallikarjun
I am using the RowDetailsTemplate to show the meta data of that Row. In my scenario, user has provision to select multiple rows & delete at a time. If the user is selecting multiple rows either using the "Shift"/"Ctrl" key, then the row details should not be displayed.
I tried to subscribe to the "LoadingRowDetails" event, when this event is fired, then based on the condition (If Shift/Ctrl) key is pressed, i was setting the Visibility property to collapsed. However, since this event will be fired only once for each row & if the user has not deleted that row but later wants to see the details it will not be possible since visibility of the DetailsElement template is collapsed. Please let me know how can i achieve this.
e.DetailsElement.Visibility = System.Windows.Visibility.Collapsed;
Thanks,
Mallikarjun