Hello
I wonder if the grid can display a runtime designer, so that the end user can have the ability of manipulating the layout of the grid.
Thanks a lot.
There's no built-in run-time designer. But the user can modify many aspects of the grid directly, like column width and row height, sorting, order of columns, etc.
What do you want the user to be able to manipulate that they cannot already do?
Hello,
I would like to allow the users to show or hide columns on the grid at runtime and save their preferences.
Is that possible?
Thanks
In the designer: \Basic Settings\Feature Picker\Row Selectors set them to "Show" and in the "Row Selector Header Style" set "Display Columns Chooser Button".
In order to save the layout at runtime, you can call the method UltraGrid1.DisplayLayout.SaveAsXml(). The method LoadFromXML is used to retrieve the saved layout.
Thanks Mike... It's workable but less than Ideal. The interface, particularly for spanning with a Ctrl + Click is less than intuitive for the end user.
Users can move and resize columns. If you are using RowLayouts, then you can even enable the ability for the user to change the span of a column. See the properties on the Override that start with AllowRowLayout*.
But there is no built-in UI to allow a user to create groups. You could, of course, code this yourself. Perhaps using a Context Menu.
I'd like to enpower my users (and shorten my developement time too) by allowing me to basically set up a grid and take care all of the hard decisions like formatting and data binding and the fact that it is displayed in row layout with groups etc but leave them free to say for example I'd like to display the Contact Name all the way across the top and then underneath that etc etc etc allowing them to resize the column in terms of vertical and horizontal spans as well as create groups and assign columns . You get the picture.. They want to layout their data....