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.

Two questions need help (Sort GridControl data and Combobox in GridList).

Thread ID:

Created:

Updated:

Platform:

Replies:

566 Jul 7,2002 11:18 PM Jul 14,2002 01:31 PM General Discussion 1
loading
Tags: General Discussion
James Liao
Asked On July 7, 2002 11:18 PM

Hi I have two questions about the GridControl and GridListControl. 1. Does GridListControl or GridControl provide sorting function? If it does then how to do it? I am trying to create a rich apperance List and need the same sorting function as click the header of ListView. 2. Does ComboBox cell type only apply on GridControl? Can I use it on GridListControl? And How to do it? Anyone's help is appreciate. James

Clay Burch [Syncfusion]
Replied On July 14, 2002 01:31 PM

1) As of the RC2 release of Essential Suite, only GridDataBoundGrid has built in sorting. There is a good chance that before the final 1.0 release, sorting will be supported for the GridControl. Right now, to sort in a GridControl, you have to implement the code yourself. If you submit a Direct-Trac incident, we can forward you a sample of how you might do this. 2) If you want to use a combobox in a GridListControl, that suggests you want to make your listcontrol editable. And a GridListControl does not support editing per se. If you need some type of editable list control, then I would suggest you use a GridControl, and make the GridControl work like the GridListControl with respect to selecting the whole row when you click on it. In the RC2 release, there is a sample named HighlightCurrentRow that does this. If you use this sample code, you have the feel of a GridListControl in a GridControl where you can edit cells and thus use comboboxes. Now if you want to place a combobox in a cell in a GridListControl, then you can do it in a virtual manner, by catching the GridListControl.Grid.QueryCellInfo event, and providing the combobox CellType for the desired cells. But again, I don't know how you would click such a combobox to change anything in a GridListControl.

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.

;