Hi,
I've set up my application to toggle several grid and forms between view and edit mode.
With my dynamic forms, I am also toggling the display of the required prefix/suffix on fields since it only makes sense to show the required prefix/suffix when the form is in edit mode.
I'd like to achieve this same effect with my ListGrids. When the ListGrid is not editable, do not show a required prefix/suffix in the column header. However, display the prefix/suffix when the grid is put into Edit mode.
So, I haven't seen a native way to define the required prefix/suffix for a ListGrid field. I've been experimenting with the getFieldTitle function and it seems to provide me the hook I need. However, I can't figure out how to redraw the grid when it toggles into edit mode and make this function fire and thus update the title.
Any suggestions? Is getFieldTitle the best way to do this? If so, how can I make it fire when toggling into edit mode?
I've set up my application to toggle several grid and forms between view and edit mode.
With my dynamic forms, I am also toggling the display of the required prefix/suffix on fields since it only makes sense to show the required prefix/suffix when the form is in edit mode.
I'd like to achieve this same effect with my ListGrids. When the ListGrid is not editable, do not show a required prefix/suffix in the column header. However, display the prefix/suffix when the grid is put into Edit mode.
So, I haven't seen a native way to define the required prefix/suffix for a ListGrid field. I've been experimenting with the getFieldTitle function and it seems to provide me the hook I need. However, I can't figure out how to redraw the grid when it toggles into edit mode and make this function fire and thus update the title.
Any suggestions? Is getFieldTitle the best way to do this? If so, how can I make it fire when toggling into edit mode?
Comment