G'Day,
I have a grid, which I always want to show the Insert Row, except when another row is being edited.
So far I have set the IsItemInserted to true or false during the NeedDataSource event and everything works as expected,. That is until I save a new item. Then the Insert row is removed.
It looks like property is being set to false After the NeedDataSource event and Before the Grid Pre-Render event. Can anyone tell me how I can override this property being reset to False?
I do have a workaround, but it is a little clunky.
I check it's status in the Grid_PreRender, if false I then reset it to be true and then force a ReBind.
Thanks
Andrew
I have a grid, which I always want to show the Insert Row, except when another row is being edited.
So far I have set the IsItemInserted to true or false during the NeedDataSource event and everything works as expected,. That is until I save a new item. Then the Insert row is removed.
It looks like property is being set to false After the NeedDataSource event and Before the Grid Pre-Render event. Can anyone tell me how I can override this property being reset to False?
I do have a workaround, but it is a little clunky.
I check it's status in the Grid_PreRender, if false I then reset it to be true and then force a ReBind.
Thanks
Andrew