Thank you Tony!
The same problem exist in delGridRow method (see the line). One can fix it in the same way.
Best regards
Oleg
Take a look in the old answer
It's very good news about new version!
After publishing of the version I would like to post you some pull requests with my suggestions how all icons and texts used in jqGrid can be configured more flexibly. The goal is providing of simple way to choose Font Awesome icons or other vector based icons instead of standard jQuery UI icons. The current code contains the most icons directly in the code and it inserts “ui-icon” class additionally. I think that the code can use the function like $.jgrid.icons.getClass(“iconName”)
No. reloadGrid reload only the body of the grid. All other grid structore (column headers, pager and so on) stay unchanged. If you need create new grid on the same place you can use GridUnload method instead. See the answer and the old demo for details.
Best regards
Oleg
Hello Tony,
I posted the pull request which contains the described bug fix and some other small fixes.
Best regards
Oleg
jQuery.jqGrid.checkboxFontAwesome4.js, described in
All checkboxs are set per default. Why you don't stay by defaults? If you develop intranet application then increasing of file size is not real problem. If you develop internet application or if you develop applikation for clients which have always access to the internen you can don't download any jQuery UI at all and use jQuery UI from one well known CDN. In the case your application will have better performance.
I suppose you try to use some very old version (earlear as jQuery UI 1.8) of jQuery UI. The name of $.Widget was changed in jQuery UI 1.8 to $.widget. See the old post about the subject. Try to use more recent version of jQuery UI.
The bug is already fixed in the code on github. See my old pull request. You can make the same changes in your copy of jqGrid. Probably Tony will publsh the next version of jqGrid with the fix.
Best regards
Oleg
Hi Tony,
to be exact the usage of the property clearSearch: false
Hello,
your demo containt an error. You use wrong parameters of groupingGroupBy method. Instead of
$('#table').jqGrid('groupingGroupBy', ['id', 'forename', 'forename'], {
Hello,
I think that you misunderstand some thinkgs. Multilevel grouping has no sense if you group by the column with unique values (like by 'id'). Only if the grouping by the first level contains more as one items in the group. Only in the case the items from the group
You post small code fragments only, so it's difficul to understand what you do. I don't understand which relation has your last post to your original question (custom grouping header). The option data (returned by $(this).jqGrid(“getGridParam”, “data”);) are defined only if you use datatype: “local”. I don't see any sense to use $(this).jqGrid(“getGridParam”, “data”); inside of formatter. Formatter callback has rowObject parameter, which contains the data of the currect row. The exact value can depend on other jqGrid parameters (datatype, loadonce) which you use. In general rowObject.NameListe provides probably the value which you need.
Reagrds
Oleg
Hi Lonewolf217,
jqGrid has rowNum option
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top