How to reload data and keep current row position?
How to reload data and keep current row position?
Hey there, Ext.ux.Livegrid 0.7 is available and introduces support for the paramNames configuration option.
Additionally, the store has an event now that gets fired when the "findInsertIndex()" has found a possible index the record should get inserted at: listeners can change the proposed value to their likes.
This release contains also a bug fix where inserting records to the data store would result in a mismatched rendering of grid rows in some cases.
Release available as always from http://www.ext-livegrid.com/download/
Cheers, Thorsten
Ext.ux.Livegrid 0.7.1 is available. This is a bug fix release which fixes an issue where references to selected records would get lost after reloading or sorting the store.
You can download the release here: http://www.ext-livegrid.com/download/
Cool. I just bought a commercial license from your site![]()
How can I use a ext.data.DirectProxy with your livegrid?
Hi Thorsten,
I'm trying to implement locking column for livegrid.
I've written plugin that will create a template with locked column. But I've problem here, I've locked first column, before store loads locked live gird looks fine. But after data loads its messing up. The rows that needs to come in locked column except first row are going into normal grid besides after the data.
And also in Live grid I've found an issue if I've too many columns and I scroll to right to see next columns.. but after scrolling to right and click on any column to sort , then headers and row lines are distracted. And that will set right when i move the scroll bar a little.
please suggest a solution.
Thanks
Neethi
Please take a look at my post #806 or here
it is solved by removing "c.scrollleft+" in method "ensureVisible".
livegrid v0.7.1 still has this implemented you need to slightly modify the livegrid code yourself.
Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
Touch 2.3.1
XPsp3/W7sp1
IE8/9/10
FF
Chrome
Hi wm03,
After removing "c.scrollleft+" in method "ensureVisible" at return statement, the lines are now more distracted on scroll right by default and after sorting last columns the lines are fixing correctly. Is there anything else I need to do?
I am using LiveGrid together with gridfilters. It all works well but when any filter is activated the column header text gets automatically bold and italic.
This still works, but after reloading the grid (because it was triggered by the filter) the "reset" method from livegrid is called. This calls the "refresh"-method from the GridView with "true" to also refresh the Grid-Column Headers. And this will finally remove the css style. So you need to change one codeline in
Ext.ux.grid.livegrid.GridView.reset
Code:... var _ofn = this.processRows; this.processRows = Ext.emptyFn; this.suspendEvents(); // this.refresh(true); this.refresh(false); this.resumeEvents(); this.processRows = _ofn; this.processRows(0); ...
Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
Touch 2.3.1
XPsp3/W7sp1
IE8/9/10
FF
Chrome