Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:frozencolumns [2011/12/15 10:34] tony |
wiki:frozencolumns [2017/12/09 14:51] (current) admin |
||
---|---|---|---|
Line 8: | Line 8: | ||
<code javascript> | <code javascript> | ||
- | .. | + | ... |
jQuery("#grid").jqGrid({ | jQuery("#grid").jqGrid({ | ||
... | ... | ||
Line 78: | Line 78: | ||
</code> | </code> | ||
- | ===== Dyanmic setup ===== | + | ===== Dynamic setup ===== |
It is possible to change the frozen columns dynamically. In this case it is needed to call first **destroyFrozenColumns** method setup new frozen proerties and call again setFrozenColumns. | It is possible to change the frozen columns dynamically. In this case it is needed to call first **destroyFrozenColumns** method setup new frozen proerties and call again setFrozenColumns. | ||
Line 94: | Line 94: | ||
}); | }); | ||
</code> | </code> | ||
+ | |||
+ | <note>Currently in order to refresh the frozen column(s) we need to call trigger('reloadGrid'). Later this will be changed with more easy way.</note> | ||
===== Limitations ===== | ===== Limitations ===== | ||
Line 102: | Line 104: | ||
* When SubGrid is enabled | * When SubGrid is enabled | ||
* When cellEdit is enabled | * When cellEdit is enabled | ||
- | * When sortable columns are enabled grid parameter sortable | + | * When inline edit is used - the frozen columns can not be edit. |
+ | * When sortable columns are enabled - grid parameter //sortable// is set to true or is function | ||
* When scroll is set to true or 1 | * When scroll is set to true or 1 | ||
* When Data grouping is enabled | * When Data grouping is enabled | ||
+ | * When footer row (footerrow paremeter) is enabled | ||