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

How can we find a DropDownColumn within a grid via javascript

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 04 Feb 2016, 11:54 AM

Quick question 

 

how can i find a dropDowncolumn via javascript ?

 

I've tried the following

 

 var row = masterTableView.get_editItems()[0];
 var dropDown = masterTableView.get_editItems()[0].findControl('nameofMyDropDownColumn');

 

but when debugging dropDown is always null 

 

Notes:

 grid is in edit mode

 

 

Is there a different method i should be using ?

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 09 Feb 2016, 11:54 AM
Hi Brian,

Which edit mode do you use? Generally, you can check the sample provided here:
http://www.telerik.com/forums/find-control-in-insert-item-grid-client-side#2tgx6AugyU6c562P--mIIg

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Brian
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or