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

[Solved] this.nodevalue comes up null?

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jeff
Top achievements
Rank 1
jeff asked on 04 Dec 2014, 03:29 PM
Hello!
Everything is working as expected with the code below (href wraps around string, etc...), with the exception that I can't seem to get the nodevalue from the td; is there a different method I should use to grab the text in the td?

    dataBound: function () {
$(
'td:nth-child(2)').each(function(){$(this).wrapInner( "<a href=" + this.nodeValue + "></a>").prepend('Part: ')})                 $('td').each(function(){if($(this).text()=='N'){$(this).wrapInner( "<span class='orange'></span>") }})<br>                              }


1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 08 Dec 2014, 09:22 AM
Hello Jeff,

I am not sure that I understand what exactly you are trying to achieve and what is the issue.  Please edit the following example, in order to show the issue and we will be happy to take a look:

http://dojo.telerik.com/oTEPa

Regards,
Kiril Nikolov
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
jeff
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or