Skip to content

Replies

0
jAndika
jAndika answered on Oct 19, 2012 12:19 AM

Off the top of my head, I can think of two solutions:

– Do you have row selection enabled ? if so, you can grab the selected row because I think the row is selected no matter where you click on the row using: $(".selector").igGridSelection("selectedRow");

then grab the ID from the row object returned from that call

– If you're using .NET MVC, you can pass the Product ID in a viewbag, and put it as a property of the button, then on click you should be able to retrieve the ID from the button property

 

0
jAndika
jAndika answered on Jul 19, 2012 3:23 PM

Thanks, that works. Missed that comment on the API.

Jeffrey

0
jAndika
jAndika answered on Jul 18, 2012 7:21 PM

Martin,

Thanks for the reply. That solution works but now I run into another problem. Once I use that Column Template feature, the boolean column that used to render checkboxes stop doing that.

Do you know why the grid is doing that ?