Who knows how to change a column into a RadComboBoxColumn when the AutoGeneratedColumns = true
I tried in the DataLoded but I did not find any way to change the existing column into a RadComboBoxColumn
You see, my DataContext have a property for a list and since I don't want to generate all the columns myself as I already did in the past, I just want to convert this column into it's useful list and bind it apropriately.
Note that everything is made in C# code behind. I never do anything by design
6 Answers, 1 is accepted
You may handle the AutoGeneratingColumn events and define your GridViewComboBoxColumn there.
I am sending you a sample project illustrating the proposed solution.
Maya
the Telerik team
Assigning e.Column = MY NEW COLUMN when the e.Column is the one I need to change
in the AutoGeneratingColumn
Thank you for your suggestion!
I just logged your proposal in our internal bug tracking system and I hope that it will be implemented in our next major Forum functionality change.
Once again thank you for reporting it and please don't hesitate to contact us for any further issues that you experience!
Atanas
the Telerik team
Posted on 1 hour ago CC: chetan.singh@socgen.com
Hello Telrik Team,
I am working with RadGridView. I am facing some problems.
1. while working on gridviewcomboboxcolumn. I am able to bind grid and column both with itemsource but problem is if i click on cell then only values will be get displayed otherwise it will be blank. Please refer attached screen shots img1 and img2. Is it possible to show grid datamemberbinding values as selected values in combo box by default in perticular column.
2. how to apply style in GridView header. my problem is i want to increase header height ,text wrap and want to change header color, font size etc.
3. is it possible to add a blank row in grid by default?
4. is it possible to show all the controls as per columns in Radgridview footer. if it is possible then how to perform adding a new row functionality from footer?
5. how to open one HTML editor on click of a image button which is in Grid.
6. how to bind Listbox in Grid column?
7. how to align checkbox or others controls which are in grid column.
Please reply me ASAP.
Thanks
Chetan
I have already responded to the other forum thread you posted. In order to keep our communication consistent, I would recommend to keep it in a single thread.
Maya
the Telerik team