asp.net mvc - how to add checkbox inside GridMVC below my code -
i need check box inside fields module_view
, module_edit
, module_delete
. using gridmvc, can tell me how add check box inside gridmvc?
here code
@html.grid(model).columns(columns => { columns.add() .encoded(false) .sanitized(false) .setwidth(30) .rendervalueas(d => @<b> @html.actionlink("edit", "edit", new { id = d.pk_module_id }) </b>); columns.add(c => c.tblmaster_modulename.modulename).titled("module name"); columns.add(c => c.tblmaster_clientorganizationdetails.organization_code).titled("organization code").filterable(true); columns.add(c => c.module_view).titled("view"); columns.add(c => c.module_edit).titled("edit"); columns.add(c => c.module_delete).titled("delete"); }).sortable().filterable().withmultiplefilters()
Comments
Post a Comment