Hello,
The alert modal is created only once and you can use the every time
you want. The id is alertmod. Something like
in afterShowForm event
var masterid = $(”#master”).getGridParam(”selrow”)
if(masterid == null ){
// the editing modal is combination of editmod + id of the grid
// suppose you have detailgrid with detail id then
$(”#editmoddetail”).jqmHide();
ViewModal(”#alertmod”);
}
Or a better way is to define custom buttons and handle this logic.
without using afterShowForm
Regards
Tony
Hello Dave,
Look really amazing. Thank you.
Regards
Tony
Hello,
Try this
$(“#mygrid”).setGridParam({searchdata:{}}).trigger(“reloadGrid”)
This will set the search data to empty array and will reload the grid
Regards
Tony
Hello,
Yes it is possible to have 2,3…n subgrids 🙂
Regards
Tony
Hello,
not sure what you mean, but you can use tableToGrid function
to convert existing html table to grid.
Regards
Tony
Hello,
You can use the option
clearAfterAdd : false
which does not clear the entered values, but I think this is not
applicable for you. I have added afterComplete event which fires after
the recortd is posted and inserted to the grid. This will be available in the next release.
Regards
Tony
Hello,
As of the docs you can not get value from attribute tag. It is only possible for the id
Regards
Tony
Hello,
What you mean with IE7 does not render it correctly?
Does this happen when you try to resize a form or move it
Regards
Tony
Hello,
Yes this is one think that can be do it better. See Roadmap in this forum.
Regards
Tony
Hello,
You can not use GridUnload if you do not load the needed files for this
Regards
Tony
Hello,
I suppose you use grid as subgrid
When you open the subgrid in subGridRowExpanded the
second parameter is the id of the row – then
subGridRowExpanded : function (sub_id, row_id) {
…
$(“#mygrid”).setSelection(row_id);
…
}
This will select your row.
Regards
Tony
Hello,
Thanks, Yes there is a bug for this. Thank you. It is corrected.
Best Regards
Tony
Hello,
Refere to PHP functions how to convert SQL query result to
the string that is acceptable in jqGrid.
Regards
Tony
Hello,
Hello,
The attribute in XML can be used only for the id – to work this
TS1
TS2
{name:'cell1',index:'cell1',xmlmap:'cell1'…}
xmlReader : {
repeatitems : false,
row : “row”
root : “here_is _your_root”,
…
}
Also refere to jsonReader in the docs on what you can do with it
Regards
Tony
Hello,
What type of data do you use?
In your ressponse there is a special tag for the row id. Refere to docs
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top