Hallo,
how to Clone button turn off line by line as in DemosEditingcoumn-access. There is no ID name for Clone Button and for other buttons.
You can set clone to false in set_actions
$g->set_actions(array(
"add"=>true,
"edit"=>true,
"clone"=>false,
"bulkedit"=>true, …….
hello,
the on and off of the button in the actions is known to me. I want the button depending on the data set switch as edit in the DemosEditingcolumn-access. ->
else if ( data.gender == ' Male' ) // viewonly
{
jQuery("#edit_list1").addClass("ui-state-disabled");
jQuery("#del_list1").addClass("ui-state-disabled");
}
but for the clone and export button there is no ID name (jQuery ("#?????")…)
How can I raise this?
Ok, i understand now. You can use:
jQuery("td[title=Clone]").addClass("ui-state-disabled");
Same applies for export