Hi Experts,
I would like to create my grid columns dynamically like the picture I attached. For example under group 201522 there are 3 columns Demand, Wavek and Lgk.. for group 201523 will have extra Wtkul column and for group 201524 only have 2 columns which is Demand and Wtkul.
Anyway I can create the grid dynamically with grouping like below with UltraWinGrid Designer?
Please guide.
If you have others solution too, please let me know.
Thank you very much!
PC
Hi Dimitar,
I believe the designer is suitable for cases where the number of columns are fixed. I will be retrieving a set of data that will return varying number of columns & groups, for example, referring to the image I posted..
Group 201522 could have columns demand,wavek & lgk.
Group 201523 could have columns demand & wavek.
Group 201524 could have columns demand,wavek & lgk.
Group 201525 could have columns demand & lgk.
In another set of data retrieved, it could be
Group 201522 could have columns wavek & lgk.
No group 201525
So the groups and columns per group depends entirely on the data retrieved. Could you please advise how I could do this via code?
Thanks!
Warm regards,
Hello PC,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hi PC,
Thank you for posting in our forums.
You can set the RowLayoutStyle of the band to GroupLayout and you can arrange the columns of the grid in order to achieve the desired layout. The grid has a very extensive, built-in designer for this functionality that you can use.
I have attached a short video demonstrating how you can use the designer along with the sample I used for recording the video.
Please let me know if you have any additional questions.