hi,
When i put all rows in edit mode and i group on a column, the collpase button does'n work anymore.
I put all rows in edit mode as described in the manual:
The collapse button works if i put the for loop and the rebind call in !IsPostback. But then if a postback happens, all my rows are not in edit mode anymore
Can someone help me?
Thx in advance
When i put all rows in edit mode and i group on a column, the collpase button does'n work anymore.
I put all rows in edit mode as described in the manual:
| protected void PreRenderEventHandler(object sender, EventArgs e) |
| { |
| foreach (GridItem item in MasterTableView.Items) |
| { |
| if (item is GridEditableItem) |
| { |
| GridEditableItem editableItem = item as GridDataItem; |
| editableItem.Edit = true; |
| } |
| } |
| Rebind(); |
| } |
| } |
The collapse button works if i put the for loop and the rebind call in !IsPostback. But then if a postback happens, all my rows are not in edit mode anymore
Can someone help me?
Thx in advance