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
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
0
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
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
![](/forums/images/avatarimages/default.gif)
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
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
![](/forums/images/avatarimages/default.gif)
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
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
![](/forums/images/avatarimages/default.gif)
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
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
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
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!