This is a migrated thread and some comments may be shown as answers.

editing dynamic columns

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chetan Pawar
Top achievements
Rank 1
Chetan Pawar asked on 25 Jun 2010, 08:26 AM
Hi all,

I am binding the grid with dynamic columns ie the column names changes everytime.
I am showing date picker, links, checkboxes, dropdownlist, text columns in my grid
everything is fine as far as displaying the grid is concerned.
the only problem is during inline editing of rows, i will need to create editors for the column types. I have successfully created datetime picker, textbox editor through code, but unable to create editor for dropdown columns as the items from dropdown are fetched from database and is dependent on the column id.

can anyone out there help me create dropdown editor for my dynamic dropdown column(s)?

thanks in advance

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 25 Jun 2010, 10:27 AM
Hello Chetan,

The documentation shows how to customize the options for GridDropDownColumn on editing. I hope this would shed some light in achieving your requirement.
Customize/Configure GridDropDownColumn


-Shinu.
Tags
Grid
Asked by
Chetan Pawar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or