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

Reference GridView Columns by Coulmnname

2 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 24 May 2017, 06:18 PM

I am replacing a 3rd party tool with Telerik....currently we have code with looks like this

grid.row.cells[testcolumname.index].text = "test"

However when I convert the control to Telerik, the column name I give it in the properties of the Control is not recognized.

Am I missing something?

Help!  

 

thanks

 

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 May 2017, 02:05 PM
Hello Jason, 

Thank you for writing.  

According to the provided description, I am not sure how exactly you the columns. However, if the Name property of the column is specified, it is expected to use it in order to access the respective cell. I have prepared a sample project for your reference. Am I missing something? Could you please specify the exact steps how to reproduce the problem? Thus, we would be able to investigate the precise case and assist you further.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jason
Top achievements
Rank 1
answered on 30 May 2017, 08:46 PM

Thanks!  Your sample code showed me exactly what I was missing!

 

Tags
GridView
Asked by
Jason
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Jason
Top achievements
Rank 1
Share this question
or