ADAdministrator Syncfusion Team March 4, 2005 01:19 PM
Is the style for this cell have any special properties set that might be interferinh with the click?
Like style.ReadOnly, style.Enabled, style.Clickable.
If you look at the grid\samples\CellTypes\ComboboxCells sample, it shows various setting that might affect teh combobox being droppable.
ADAdministrator Syncfusion Team March 7, 2005 05:26 AM
They are all set right...
ArrayList list=new ArrayList();
where i inherit form GridControl and where
It looks like the the databinding is not done and the list is empty althought the base[1,index].IsEmpty is false...
ADAdministrator Syncfusion Team March 7, 2005 05:51 AM
Your code worked for me using 188.8.131.52 in this sample.
Does this sample work for you with 2051? (Make sure you build it before you try to open it in the designer as there is a derived class in it).
If not, and you want to use a collection of strings as your dropdown, then create a StringCollection holding teh strings, and set this as the cell''s style.ChoiceList (and do no use the DataSource property) to see if that will work for you.
ADAdministrator Syncfusion Team March 7, 2005 06:03 AM
Yes it works on 2.0.5...so the problem is coming from elsewhere...
The only difference i have with you code is that all the code you have in the form is in my inherited control and where you write gridControl1[1,index].DataSource i have base[1,index].DataSource because this syntax is not accepted this[1,index].DataSource ...
ADAdministrator Syncfusion Team March 7, 2005 07:27 AM
i found the problem !
It was coming from the fact that the selection was set to false and in _grid_CurrentCellActivating e.colindex=0
I fix it by adding a test
Thanks so much for your help