I am using UltraWebGrid. I need to be able to sort on a column, but depending on the sorted rows, I need to populate some of the rows of the datasource table and then repopulate the grid.
A number of questions
- How can the grid be refeshed/updated with the changes in the row?
- After sorting and before it is displayed, is there any object that has has the sorted list in memory? This will eliminate the need to refresh the grid.
Thanks, Shilpi
Hello shilpichaudhry,
try to handle UltraWebGrid1_SortColumn event, cancel this event and make changes on your datasource table and rebind the grid.
protected void UltraWebGrid1_SortColumn(object sender, Infragistics.WebUI.UltraWebGrid.SortColumnEventArgs e) { e.Cancel = true; //Make changes on datasource this.UltraWebGrid1.DataBind(); }