Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Grid Command Button Is Not Pulling Nearest "tr"

$
0
0

I have a kendo grid running with a command button

 

When I click the button, its appears to not be pulling the closest 'tr' but instead a random 'tr' and then the closest 'tr'

Code:

function showServiceDetails(e){
    e.preventDefault();

    var dataItem = this.dataItem($(e.currentTarget).closest("tr"));

    alert(dataItem.layerSource);

}

I'm not getting the correct rows 'layerSource' instead I get another one, then the correct one???

 

Odd

I've attached a pic of the data

Any insights would be SOO helpful right now.

Cedric


Viewing all articles
Browse latest Browse all 99250

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>