This topic is locked

How to invoke inline edit programmatically from custom button

3/24/2015 11:02:17 AM
PHPRunner Tips and Tricks
admin

Sometimes you may want to look Inline Edit function more prominent. Having a large custom button for this purpose makes easier for users to understand what they need to do here. After you added custom button to grid row use the following code in ClientBefore event to invoke Inline Edit:

var id = $("#"+ctrl.id).parent().attr("data-record-id");

$("#iEditLink"+id).click();


Make sure that other button events do not contain any code.