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.
Unfortunately, activation email could not send to your email. Please try again.

CellType GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

65909 Jul 27,2007 02:16 PM Jul 27,2007 07:10 PM Windows Forms 2
loading
Tags: GridControl
Allen Jones
Asked On July 27, 2007 02:16 PM

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

Rajagopal [Syncfusion]
Replied On July 27, 2007 05:13 PM

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

Allen Jones
Replied On July 27, 2007 07:10 PM

Thanks much Rajagopal.
I got that to work.

Allen

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;