Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
680
Any possibility to dynamically construct grid as basic report designer?
posted

Hi,

Is there any prototype demo which can show how to develop a mini/basic report designer? As the following concept for runtime:

a, one blanket grid on the form witout any column and row.
b, by key/mouse operating event, the column and row can be dynamically added with some typical properties (formual,format,...) .
c, serialize/deserialize the layout of grid, including the predefined value/text in some cells.

Is it possbile? Any exist demo for this purpose? :-)

Thanks

  • 469350
    Offline posted

    Hi,

    I'm not aware of any existing samples of this, but everything you listed here seems doable with a little coding.

    You could easily set up an empty grid with an UltraDataSource as it's DataSource. You could use a right-click menu or any other UI you want to allow the user to add columns and/or rows.

    Serializing the grid would be pretty simple. In this case, you would just use the Save/Load methods on the grid's DisplayLayout. To save the data, you would use the save and load methods on the UltraDataSource.