This question is locked. New answers and comments are not allowed.
Hi, How can i call client jquery Function when grid expand is fired.
all that i want to achieve is.
when we expand the Telerik MVC grid
we get this mark up in detail row
i want to eliminate
and get the mark up as
for this i though of doing some thing like this
on grid expand function, if i can call a jquery function
then
all that i want to achieve is.
when we expand the Telerik MVC grid
we get this mark up in detail row
<tr class="t-detail-row"><td class="t-hierarchy-cell"></td><td class="t-detail-cell" colspan="5"></td></tr>i want to eliminate
<td class="t-hierarchy-cell"></td> in it.and get the mark up as
<tr class="t-detail-row"><td class="t-detail-cell" colspan="Current+1"></td></tr>for this i though of doing some thing like this
on grid expand function, if i can call a jquery function
then
function onExpandingtheGrid(){$('tr.t-detail-row').find('td.t-hierarchy-cell').remove();$('tr.t-detail-row').find('td.t-detail-cell').attr('colspan',newcolspan+1);}