You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add custom actions (e.g. edit and delete button on every column with edit and delete link) this for example if one want to use the edit form of rails e.g. /users/1/edit and not the inline edit.
equal for "new user"
it is possible to add some code lines to the plugin to add this functionalities?
add in the 2dc_jqgrid.rb
grid_complete = ""
if options[:grid_complete].present?
grid_complete = %Q/
gridComplete: function(){
#{options[:grid_complete]}();
},
/
end
and add additional to "Generate required Javascript" (line number 253)
#{grid_complete}
in the application.js
function grid_complete() {
var ids = jQuery("#example_jqgrid").jqGrid('getDataIDs');
for(var i=0;i < ids.length;i++) {
var cl = ids[i];
show = ""
jQuery("#example_jqgrid").jqGrid('setRowData',ids[i],{
act: show
}
);
}
}
Some suggestions:
Cheers
The text was updated successfully, but these errors were encountered: