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

jQuery in Clientside OnRowDataBound?

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 19 Apr 2010, 04:42 AM
Instead of doing the following
var url = args.get_item().get_cell("URL").getElementsByTagName('a')[0];

Is there a way to use jQuery to find objects after a call to get_cell?  Ive got a rather complicated template and I'd like to use jQuery instead of going through a tag array...

Thanks,
Steve



1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 21 Apr 2010, 02:35 PM
Hi Steve,

Of course, here is a sample:

var urlCell = args.get_item().get_cell("URL");
var $links = $("a", urlCell);


Sincerely yours,
Veli
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Veli
Telerik team
Share this question
or