Hi everyone,
I am very new to this product. I have got problem about adding editor provider into the cells.
Firstly, I can get a DataTable object at runtime, so the number of columns and row are not fixed number. I want to bind this DataTable object to my WebDataGrid control.
Then, what I have done is: 1) I set this.WebDataGrid1.AutoGenerateColumns = false; 2) I create BoundDataField object at runtime and add this object to the column collection.
For some columns in the DataTable object I want combo box in the cells. For some other columns I want text box with MultipleLine mode in the cells. I have got a column called "Comment", which could hold 500 words in it. I want to show all the words to the users only when they click on the cell.
1) How can I add cell editor into the grid?
2) How can I hide the loooong text and display them when users click the particular cell?
Many thanks
Regards,
Xiaosu
Hi,
I have a similar situatuion where i am adding the columns at runtime to the grid. I want to add dropdowneditor provider to one of the columns. Do you have any idea ?