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

Check Box with Dynamic column Grid

5 Answers 396 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sriram
Top achievements
Rank 1
Sriram asked on 05 Dec 2014, 02:01 PM
Hi , 
Grid fields are fetched from Database as dynamically. Now I want to add the check box for each row in dynamically generated Grid.

For ex : (1) Id (2) Name (3) Age (4)Phone Number .. These columns are fetched from Database and  these are displayed as dynamically.
Now i want to add the check box for each row.   

Any body share your suggestions .Thanks in Advance. 
Sriram Nagasundharam

5 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 09 Dec 2014, 10:51 AM
Hi Sriram,

Please note that when the columns are generated automatically adding additional custom columns is not supported and it will require custom solution. For example you can use the first "dataBound" event to get the generated columns, add the desired custom columns and apply the new settings using the "setOptions" method:


Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sriram
Top achievements
Rank 1
answered on 10 Dec 2014, 08:50 AM
Hi Vladimir,
Thank you for your reply.
I have added the custom column by using 'setOptions'  method . The column has been added in 'newCols'( Debugged it found out the added column) . But the column has not been displayed in UI screen. 
I am expecting your suggestion on it - Why the added column is not displayed ?

Thanks in Advance
Sriram Nagasundharam
0
Sriram
Top achievements
Rank 1
answered on 10 Dec 2014, 08:55 AM
Hi Vladimir,
Thank you for your reply.

I have added the custom column by using 'setOptions' method. The custom column has been added  when i debugged it found out. But this column has not been displayed in Screen. 
1. Why the added column is not displayed?
Thanks in Advance
Sriram Nagasundharam

0
Sriram
Top achievements
Rank 1
answered on 10 Dec 2014, 08:55 AM
Hi Vladimir,
Thank you for your reply.

I have added the custom column by using 'setOptions' method. The custom column has been added  when i debugged it found out. But this column has not been displayed in Screen. 
1. Why the added column is not displayed?
Thanks in Advance 
Sriram Nagasundharam

0
Vladimir Iliev
Telerik team
answered on 12 Dec 2014, 06:51 AM
Hi Sriram,

From the provided information it's not clear for us what is the exact reason for current behavior - could you please update the example from my previous reply to reproduce the issue and send it back to us? This would help us pinpoint the exact reason for this behavior.

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Sriram
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Sriram
Top achievements
Rank 1
Share this question
or