We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

CellType GridListControl

Problem:

I create a class with 7 fields.
I populate a Cell of type GridListControl with an ArrayList of my class.
The fields appear in the control in random order.
I've tried reordering the fields in the class.
Reording the fields in the constructor.
Nothing seems to work.
How do i specify the column order that my 7 fields should appear in in the GridListControl?

tia,

Allen

2 Replies

RA Rajagopal Syncfusion Team July 27, 2007 09:13 PM UTC

Hi Allen,

Thanks for your interest in Syncfusion Products.

You can control the display order of the properties in your Arraylist by having your Arraylist implement ITypedList. Here is a forum thread that has sample code.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9194

In the GetItemsProperties, get the default property order using the techinque shown in the above forum thread. But before returning the collection, reorder the collection to the order you prefer.

Regards,
Rajagopal


AJ Allen Jones July 27, 2007 11:10 PM UTC

Thanks much Rajagopal.
I got that to work.

Allen

Loader.
Live Chat Icon For mobile
Up arrow icon