Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: How to add control dynamically to grid

$
0
0

Hi Stephane,

not sure if i totally get what you mean. Sure you could also add controls to the grid in a loop. Still i would not add controls individually to the grid in case you want to have them grouped. The layout might not be what you expect. But you could wrap your different scenarios into a wrapping control like HorizontalLayout or Panel and add this then to the grid. You just need to adapt the wrapping control layout.

Do you always want to add 6 or is this value flexible? If it's fix and depending on how you want then aligned i'd put them in a H or V layout as a fragment and add the frag to the grid. of course you can bind the labels from your Resource bundle model.

maybe you have a pict or a snippet of your goal?

best regards, Sophie.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>