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.

drop down grid disappers

Thread ID:

Created:

Updated:

Platform:

Replies:

5951 Jul 25,2003 09:05 AM Jul 28,2003 01:46 PM Windows Forms 3
loading
Tags: GridControl
Tony Nation
Asked On July 25, 2003 09:05 AM

Hi there, I am attempting to use a dropdowngrid to display detail information that is being populated by an ArrayList. This dropdowngrid could have anywhere from 1 to 3 rows of information, so the rowcount is not static. I’m having two problems: 1) The size of the dropdowngrid is always the default size and doesn’t take the dimensions I give it ; 2) The row of the cell that is click from the parent grid disappears, and the row beneath is display instead. When that cell is re-click that row disappears and same thing happens again. This sequence keeps going until either there are no remaining rows in the main grid, or focus click on some other control. I’ve have base my dropdowngrid from the examples given Essential Suite package. I have read some previous Forms questions from people who have had the similar issues that I’m experiencing, and the common answer seems to be use DropDownGridCellRenderer. However, I’m having problems using this class. So, this leads me to these questions: 1) Will DropDownGridCellRenderer fix these problems and if so what am I doing wrong. Do you have any examples in using this class in the correct matter that I could follow as a guideline; 2) and if DropDownGridCellRenderer is not the way to go, what is? If you need more information please let me know. Thank you for your time.

Administrator [Syncfusion]
Replied On July 25, 2003 09:25 AM

Do you see these problems in the samples that you based your code on? What kind of grids are you trying to use? Is the parentgrid a GridControl or a GridDataBoundGrid? Is your child grid a GridControl or GridDataBoundGrid? Exactly how are you trying to implement your dropdowngrid? What sample is it based on? You should check to see if any exceptions are being thrown. Maybe that is what is causing teh rows to disappear.

Tony Nation
Replied On July 25, 2003 11:06 AM

Sorry for the lack of information. The grids are unbound grid controls. Have no parent child relation. Should they?? I notice there that size of dropdowngrid is identical to my grid. I’m trying to implement it with DropDownGridCellModel. > Do you see these problems in the samples that you based your code on? > > What kind of grids are you trying to use? Is the parentgrid a GridControl or a GridDataBoundGrid? Is your child grid a GridControl or GridDataBoundGrid? > > Exactly how are you trying to implement your dropdowngrid? What sample is it based on? > > You should check to see if any exceptions are being thrown. Maybe that is what is causing teh rows to disappear.

Administrator [Syncfusion]
Replied On July 28, 2003 01:46 PM

Tony, check out the \Grid\Samples\In Depth\DropdownGrid\CS sample. You will have to derive from GridDropDownGridCellModel and GridDropDownGridCellRenderer. In GridDropDownGridCellRenderer you need to override the CreateInnerControl method and return a reference to a grid. Stefan

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.

;