Hello,
There is a method onSelectAll. See examples.
Regards
Tony
Hello,
There is parameter in colModel index. If set the posted data is the index. By example colModel : [ {name: 'name2', index:'myindex'..}..] will post the myindex when sorting.
Regards
Tony
Hello,
Maybe you should use the new afterComplete event. When the row is inserted in main grid, you may have to open the subgrid and lunch the modal. Not sure what you try to do.
Regards
Tony
Hello,
….
}).navGrid('#pager2',
{add:true,edit:true,del:true},
{closeAfterEdit:true}, // edit options
{closeAfterAdd:true}, //add options
{}
);
Hello,
Of course you can controll this. The script can tell the grid if this operation is successfull or not. You can catch the output from your script using the afterSubmit event , aftersavefunc or afterSubmitCell depending on the modules your use. Also refer to docs.
Regards
Tony
Hello,
The upcomming release fix this problem allowing to add custom tooltip.
Regards
Tony
Hello,
Currently no. You should do this manually.
Regards
Tony
Hello,
Maybe the easy way (which I should test) is
cell = cell +””;
before inserteding.
Regards
Tony
Hello,
One possible solution (use the last version of jqGrid) to collapse all opened subgrids is:
var minuses = table.find(”img[src$=minus.gif]“,”#mygridid”).each(function() {
$(this).parents(”td”).eq(0).click();
});
The same to expand all.
Regards
Tony
Hello,
You can use afterSearch event (see docs) something like
// I suppose you name for the select is myselect
afterSearch : function () {
jQuery(“select[@name=myselect]”,”#filterelem”).empty();
// here your code to add new options.
}
Regrds
Tony
Hello,
The problem that you have is how you call the function in the subgrid.
You call it like this
loadComplete: createStatusActions(subgrid_table_id)
The right is:
loadComplete: createStatusActions
Or simple if you want to thest make this:
loadComplete:function() {
// here the code from createStatusActions
}
Regards
Tony
Hello,
The right call is:
jQuery('#list').saveRow('','','','',aftersavefunc);
and not
jQuery('#list').saveRow('','','','',aftersavefunc());
Regards
Tony
Hello,
You have not needed comma in the colModel in the last column definition. If you check this in IE6 you will have error:
|
1 2 3 |
{value:"Active:Active;Inactive:Inactive"}}<strong>,</strong> < <hr class="bbcode_rule" /> ]<br /><br />Regards<br />Tony |
Hello,
Thanks. Fixed.
Regards
Tony
Hello,
One possible solution is to create your own custom style sheet based on the one of the temes. In this sheet you can replace the class scroll with other name.Then when you create the grids you can:
Where myscrollclass is the new defined from you class.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top