Hi,
as the subject stated. how can i do that?
i want the user is able to click one row only that being highlighted.
while when the user want to delete multiple record. then he can checked the checkbox only?
thx
2 Answers
Pasting from FAQs.
Q) How to make single row selection, keeping multiselect option?
Following code will enable single selection, in multiselect mode.
PHP code config:
$e["js_on_load_complete"] = "do_onload";
$g->set_events($e);
JS code config:
<script>
function do_onload()
{
jQuery(".jqgrow").click(function(){ jQuery("#list1").jqGrid('resetSelection'); this.checked = true; });
}
</script>
Your Answer