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
210
UltraGrid hide unnecessary columns from datasource
posted

Hi, I have an ultragrid which is taking as a datasource at runtime an arraylist of given objects.

I'm not the creator of these objects. I am only interested in displaying a few of their properties, which will be a few columns in my grid.

I created bound columns in my ultragrid, but as soon as the datasource is given to the grid, all the fields naturally create new columns automatically.

How do I properly insure that ONLY those few properties I'm interested in actually generate columns?

I know I could always browse the gridcolumns after the datasource is given and hide the unnecessary columns, but it doesn't seem clean at all. Can you give me the proper way to achieve this end?

Thanks.

Parents Reply Children