Categories | Question details Back To List | ||
Treegrid attached to layout - resizing problem Hello, i am using layout 3T in fullscreen mode with attached treegrid to cell c. If i sort a column i will get a sorting indicator. If i resize the whole window, the sorting indicator does not move with the corresponding column. I can attach a picture, but not posting in creation mode. Best regards, Stefan Riedel-Seifert Answer posted by Alex (support) on Feb 11, 2009 03:03 You can try to use onPanelResizeFinish event handler and correct the image position using treegrid (grid) API: dhxLayout.attachEvent("onPanelResizeFinish",function(){ var sort_state = dhxTreeGrid.getSortingState(); dhxTreeGrid.setSortImgState(true,sort_state[0],sort_state[1]); }) Answer posted by Stefan Riedel-Seifert on Feb 11, 2009 03:59 Hi, the event will be nor fired: i hav coded
<script>
Best regards, Stefan
Answer posted by Stefan Riedel-Seifert on Feb 11, 2009 04:16 Sorry, my failure. The resizing of the panel firs the event and corrects the position of the image. But if i resize the window, the Best regards, Stefan Answer posted by Alex (support) on Feb 11, 2009 04:54 You can try to apply the same approach but using "onResizeFinish" event handler. Answer posted on Feb 11, 2009 05:51 Hi, this works now pefect! Best regards, Stefan |