root/trunk/CHANGELOG

Revision 79, 18.0 KB (checked in by tsuckow, 12 months ago)
  • fixed: (GridView?.js) fixed an issue where selections not currently in the buffer would get accidently removed once the grid gets reset
  • enhancement: added CheckboxSelectionModel?.js to be able to use a checkboxselection with Ext.ux.Livegrid
Line 
1Version 0.5RC1 (GPL)
209-February-2011
3 - fixed: (GridView.js) fixed an issue where selections not currently in the
4buffer would get accidently removed once the grid gets reset
5 - enhancement: added CheckboxSelectionModel.js to be able to use a
6checkboxselection with Ext.ux.Livegrid
7
806-February-2011
9 - enhancement: (GridView.js) added compatibility for use with Ext 3.3
10
1120-March-2010
12 - fixed: (Store.js) fixed an issue where the "selectionsProxy" would call a
13method that was marked deprecated since Ext 3.0
14 - enhancement: (GridView.js) splitted "liveScrolleInset" into 3 divs which
15fixes issues when a large number of data should be shown in the grid; this
16prevents incapabilities of browsers which define max heights for HTML Elements
17
1804-January-2010
19 - fixed: (GridView.js) fixed an issue where the grid would not be properly rendered
20in IE due to deprecated "scrollOffset" property
21 - enhancement: (JsonReader.js) added compatibility for Ext 3.0.3
22 - enhancement: (GridView.js) replaced call to "Ext.each" in "processRows()"
23with for-loop
24 - fixed: (GridView.js) added property "loadMaskDisplayed" to indicate whether
25loadMask is currently being displayed; fixed an issue that would not stripe rows
26when grid is being refreshed;
27
2810-July 2009
29 - fixed: fixed an error that would be triggered if the store uses a custom proxy,
30such as Ext.data.DirectProxy; introduced event "abortrequest" to be aware of cases
31when custom proxies should abort any ongoing "read" server request
32
3309-July 2009
34 - fixed: (EditorGridPanel.js, GridPanel.js) call in "initComponent()" would not allow
35an user to set the property "cls"as it would get override; checked for existence of
36this property and concatenated it with default
37 - enhancement: added Ext 3.0.0 compatibility
38 - fixed: (GridView.js) listener "onBeforeLoad()" now aborts any ongoing server
39request and properly resets properties "isBuffering" and "isPreBuffering"
40
4126-June 2009
42 - fixed: fixed an erroneous call to superclass' implementation of "initComponent()"
43in Ext.ux.grid.livegrid.EditorGridPanel
44
4520-June 2009
46 - fixed: fixed a bug where "suspendLoadEvent" would not be reset, thus suspending all
47load-events for further calls once it was set
48(see http://www.extjs.com/forum/showthread.php?p=345273#post345273)
49 - enhancement: added "examples"
50 - enhancement: enhanced css rules
51 - fixed: fixed a flaw which would remove focus from the scrollbar in IE7 by caching
52the loadMask, which also speeds up rendering
53 - enhancement: performance improvements in "GridView.liveBufferUpdate()" by only
54re-rendering the view if there is no index left in the request-queue
55
5608-June 2009
57 - enhancement: (Store.js) updated api to work with Ext3.0RC2 (breaks backwards
58compatibility with versions prior to Ext3.0Rc2)
59 - enhancement: (Toolbar.js) minor code changes to make toolbar work with Ext3.0RC2
60 - enhancement: (GridView.js) removed "loadMaskConfig" property and instead delegated loadmask
61configuration to loadMask cfg property; simplified "showLoadMask" method
62
63Version 0.3RC2 (GPL)
6407-December-2008
65
66 - fixed: (GridView.js) "renderUI()" would not set "this.dragZone" properly if
67drag & drop is enabled for the GridView's grid
68- fixed: (make.bat, make.sh) naming issues for debug-build resolved; enhanced
69check if argument was submitted
70
71
72Version 0.3RC1 (GPL)
7323-November-2008
74
75 - enhancement: added build tools for creating minified deployable versions of
76Ext.ux.Livegrid-scripts
77 - enhancement: (GridView.js) the rowIndex argument of the column's renderer will
78now pass the value of the index of the row as available in the view, i.e. as defined
79in the row's rowIndex property, which adds support for Ext.grid.RowNumberer
80 - fixed: (GridView.js) fixed a bug where "getPredictedBufferIndex()" would not
81compute the next rowIndex for a request properly, leading to an endless loop
82 - enhancement: (GridView.js, RowSelectionModel.js) removed override of "onRefresh()"
83to keep selections after a refresh or sort occured, if, and only if those records are
84returned by the response; removed custom call to selection model's "clearSelections()"
85in the GridView's "reset()" method
86 - enhancement: intercepted "autoLoad" property of Ext.ux.grid.livegrid.Store to make
87sure the store gets only loaded if the view has been rendered, if the store's autoLoad
88property was set to "true"
89
90
91Version 0.3a4 (GPL)
921-November-2008
93
94 - fixed: (EditorGridPanel.js) call to "startEditing()" would throw error if the
95requested index in the view is not currently representing a record; overrode
96method for checking if record to edit is available
97 - enhancement: (GridView.js) adjusted behavior of "ensureVisible()" to scroll a
98requested cell horizontally into view
99
100Version 0.3a3 (GPL)
1011-November-2008
102
103 - fixed: (Toolbar.js) when passing the grid as config parameter, the immediate
104call to "bind" would throw an error since the views's "ds" property is not available
105yet
106
107
108Version 0.3a2 (GPL)
1091-November-2008
110
111 - enhancement: (Toolbar.js) config object allows now to specify either the grid
112or the view the toolbar is bound to
113 - fixed: (Store.js) "getAt()" would return "-1" if the data at the passed index
114could not be found in some cases; changed to return type "undefined"
115 - fixed: (GridView.js) overrode method "getCell()" to return "null" if the row
116for the specified index could not be found
117 - fixed: firing of event "cursormove" would happen before "replaceLiveRows()"
118has taken care of re-assigning the rowIndex to the rows in the view which could
119lead to errors; adjusted method and made sure that "replaceLiveRows()" is called
120first
121 - enhancement: (EditorGridPanel.js, GridPanel.js) added basic support for using
122cell editors for the Livegrid (EditorGridPanel-support)
123 - enhancement: (ext-ux-livegrid.css, DragZone.js) minor code cleanups, changed
124css class "x-dd-drop-waiting" to "ext-ux-livegrid-drop-waiting"
125 - enhancement: (GridView.js) added method "getRow()", removed overriden method
126"onCellSelect()", "onCellDeselect()", "onRowOver()", "onRowOut()" and changed
127arguments for call of methods that operate on Html-elements in the view to pass
128the model index as specified in the elements "rowIndex"-property, which will get
129translated internally to the html-element's index in the view, for broadening
130compatibility to other plugins/exension, such as the EditorGridPanel
131 - enhancement: (GridView.js) changed behavior of "processRows()" to paint the selections
132if the third argument does not equal to "false"
133 - enhancement: (RowSelectionModel.js) added method "deselectRecord()" to deselect a record
134that is already selected in the model
135 - enhancement: (GridView.js) added method "isRecordRendered()" to check whether the passed
136record is currently within the visible rect of the grid's view
137 - enhancement: removed programmatically invoking scroll in IE when the grid is rendered,
138since this was fixed due to the css changes in a previously version
139 - fixed: (RowSelectionModel.js) method "isSelected()" would lose it's original argument
140while processing it, which could lead to erroneous behavior
141 - fixed: (GridView.js) missing call to "isBuffering = true" in "updateLiveRows()"
142made the component to ignore a previously set queue and request new data immediately
143
144Version 0.3a1 (GPL)
14529-September-2008
146
147 - enhancement: added Ext 2.2 compatibility, refactored code, changed ui to match
148Ext style
149 - License changed from LGPL to GPL
150 - enhancement: changed namespace to "Ext.ux.grid.livegrid":
151  +---------------------------------------+----------------------------------------+
152  |        old name                       |          new name                      |
153  +---------------------------------------+----------------------------------------+
154  | Ext.ux.grid.BufferedGridView          | Ext.ux.grid.livegrid.GridView          |
155  |--------------------------------------------------------------------------------|
156  | Ext.ux.BufferedGridToolbar            | Ext.ux.grid.livegrid.Toolbar           |
157  |--------------------------------------------------------------------------------|
158  | Ext.ux.grid.BufferedGridDragZone      | Ext.ux.grid.livegrid.DragZone          |
159  |--------------------------------------------------------------------------------|
160  | Ext.ux.data.BufferedJsonReader        | Ext.ux.grid.livegrid.JsonReader        |
161  |--------------------------------------------------------------------------------|
162  | Ext.ux.grid.BufferedRowSelectionModel | Ext.ux.grid.livegrid.RowSelectionModel |
163  |--------------------------------------------------------------------------------|
164  | Ext.ux.grid.BufferedStore             | Ext.ux.grid.livegrid.Store             |
165  +---------------------------------------+----------------------------------------+
166  +---------------------------------------+----------------------------------------+
167 - fixed: rows would not be striped properly when grid panel's "stripeRows" property
168is set to true
169 - fixed: rendering bug of the vertical scrollbar in IE7 did not trigger the scroll
170event to small; set min height to two times of horizontalScrollOffset property
171 - fixed: vertical scrollbar would disappear in FF3 if the size of the viewport gets
172to small; set min height to two times of horizontalScrollOffset property
173 - fixed: view would not always calculate the grid's size leading to errors when it
174should decide whether the horizontal scrollbar is shown
175 - enhancement: added "bulkRemove()" method and "bulkremove" event to store, added
176"bulkremove"-listener to BufferedGridView
177 - fixed: (RowSelectionModel.js) added a property for mapping already
178selected records to their view index, so that the position of records, which are
179no longer in the store, can still be referenced. Added support for removing and
180shifting selections if a record was removed that is not part of the store, but
181still could be referenced using the map
182 - fixed: (Store.js) when removing records which are not buffered by the
183store, and which are behind the range of the currently buffered record set, the
184"remove" method now adjusts the values of the "bufferRange"-property minus the
185number of records removed, to reflect the changes in the underlying data model
186 - fixed: (GridView.js) when removing rows which are not part of the data
187model, the "rowIndex" and "lastRowIndex" properties are now both updated, and the
188remaining rows in the view processed by "processRows()"
189 - fixed: (GridView.js) "forceRepaint" argument for the "updateLiveRows"
190method is now passed using the "options"-object of the Ajax.request, which will
191then be passed to the "replaceLiveRows()".method called by the "liveBufferUpdate()".
192 - fixed: (GridView.js) last revision had a typo left that caused the rows
193not to be updated when the "insertRows()" method would be called with the
194"isUpdate"-argument set to true
195 - enhancement: (GridView.js) changed "onRemove()" method to not support
196"isUpdate" argument, since the current implementation of GridView would
197never call "onRemove" for simply updating a row in the view
198 - fixed: bufferRange will now get reset if all records in the store are removed
199
200Version 0.2
20111-September-2008
202
203Version 0.2rc5
20431-August-2008
205
206- fixed:
207 - BufferedGridView.js: typo left in "insertRows()" would prevent the view to reassign
208the proper rowIndex when argument "isUpdate" was set to true
209 - BufferedGridView.js: wrong parameter passed to "buffer" and "beforebuffer" event caused
210listeners to use wrong number of visible rows in the grid
211
212
213Version 0.2rc4
21430-August-2008
215
216- fixes:
217 - BufferedStore.js: store would not allow for adding records without throwing errors when
218the store was initialized with no records; changed bufferRange to be initialized with [0,0]
219instead of [0, bufferSize] and incremented bufferRange-count according to the records coming
220in, until bufferRange[1] equals to bufferSize
221 - BufferedGridView.js, BufferedRowSelectionModel.js: store "add" event would neccessarily
222trigger the selectionmodel's onAdd-listener before the onAdd-listener of the GridView, resulting
223in false rendering of selected records; changed the selection model to listen to the "rowsinserted"
224event of the view and extended this event to pass the length of added record as the fourth
225parameter to all it's listeners
226 - BufferedGridView.js: collapsed panel would hide added records of the grid when the grid is
227expanded again and would lose scroll-position; added listener for "expand"-event of the view's
228gridpanel to recalculate visible rows, the buffer inset and reset the scrollbar's position to the
229proper value
230 - BufferedGridView.js: "onAdd()" would not always insert records depending on the position they got
231added in the store; updated and improved code based on "rows get added before first visible row",
232"rows get added after the last visible row", "rows get added somewhere in between the first and last visible row"
233- enhancements:
234 - BufferedGridView.js: improved calculation of rows that would cause spill when new records
235get added in "insertRows()"
236
237
238Version 0.2rc3
23930-August-2008
240
241- fixes:
242 - BufferedGridView.js: last row would not always be rendered proper if the end of
243records is reached and the panel would be resized so that more records are displayable
244- enhancements:
245 - BufferedGridView.js: improved calculating the height of the buffer inset in both
246performance and functionality. Component now working with Safari 3.1 under Windows XP
247
248Version 0.2rc2
24929-August-2008
250
251- fixes:
252 - BufferedGridView.js: re-rendering rows would not work proper if a resize of the panel
253during buffering happened; "adjustVisibleRows()" skips recalculating the "rowIndex"
254property now if the livegrid is currently buffering. "replaceLiveRows()" would not always
255calculate the exact range of rows to render; adjusted conditions to check for valid ranges
256
257Version 0.2rc1
25829-August-2008
259
260- fixes:
261 - BufferedGridView.js: fixed a bug that would not recalculate the scrollbar's
262height if the number of possible rows to display in the view would exceed the
263total number of records in the store
264 - BufferedRowSelectionModel: "selectRow()" would allow selecting indexes greater than
265the "totalLength"-property of the store; added condition to check whether the index is
266out of bounds (closes google issue 5)
267- BufferedStore.js: buffer range would not store the number of the total length
268of the records when last possible range is reached, but instead the number of the
269start-parameter with the "limit"-parameter, which lead to errors when a last
270possible record to render is requested that cannot be found in the store
271
272 - enhancements:
273- BufferedGridView.js: last row in the grid is now clipped instead of removed if
274it is not fully displayable
275
276
277
278Version 0.1.2
27925-August-2008
280
281- fixes:
282 - BufferedGridView: wrong calculation of "start"-parameter for the buffer-request
283caused infinite loop. Adjusted calculation of return value in "getPredictedBufferIndex()"
284to always return correct value for "start"-parameter if the "nearLimit" property is greater
285than or equals to half of store's "bufferSize" property (fixes google issue 4)
286
287Version 0.1.1
28825-August-2008
289
290- fixes:
291 - BufferedGridView: grid would not be repainted correctly if a column was moved:
292method "onColumnMove()" with appropriate implementation added (fixes google issue 9);
293"onRemove()" would not work properly if the end of the data was reached in the visible
294rect and rows from within that rect are removed. Adjusted "lastRowIndex" to be equal to
295"rowIndex", and skipped implicit "processRows()" call in "replaceLiveRows()" via passing
296a new third argument "processRows", which will only call "processRows()" if the argument
297was not set to false; removed call to "selections.add()" in "processRows()" since selections
298are already in the "bufferedSelections" property of the selection model, and previously
299selected records are still part of the "selections"-property of the selection model.
300
301
302- enhancements:
303 - BufferedGridView: Added functionality for listening to erroneous responses from
304buffer-requests. Event "bufferfailure" will now be fired if the store indicated that
305the proxy's response was erroneous; added "options" parameter to be passed to
306"buffer"-event
307
308 - BufferedGridToolbar: Toolbar is now listening to "bufferfailure"-event and resets
309the reload-button to "enabled" if necessary.
310
311Version 0.1
31216-June-2008
313
314- enhancements:
315 - BufferedGridStore - added overrride of getAt() method to translate
316the passed argument to the appropriate index in the model; updated sources to take
317overriden method into account
318 - added cfg option "scrollDelay" in BufferedGridView for buffering calls to onLiveScroll
319when scroll-event gets fired (thanks to Rich Waters)
320 - BufferedStore: removed custom applySort() implementation due to changes in findInsertIndex
321 - BufferedStore: changed findInsertIndex to use parent implementation first, then check
322return value and adjust the index if needed
323 - BufferedStore/BufferedGridView: moved bufferRange-member to BufferedStore
324 - BufferedStore: optimized insert() method in BufferedStore
325 - allowed to add records at position "0" in grid (existing records get shifted down)
326
327- fixes:
328 - wrong calculation in BufferedGridView.onLiveScroll (based on lastScrollPosition and actual
329scrollPosition) caused the view sometimes to not re-render some rows
330 - provided bug fix for "ensureVisible: returned x-coordinate does not take the x-position
331of the gridpanel into account" (see http://extjs.com/forum/showthread.php?p=175331#post175331)
332 - wrong calculation of last displayable row after removing a row caused selection-model
333to get out of synch with the store's data
334 - when adding a record to the store on the fly, the ensureVisible-method
335would not work always corect afterwards
336 - when adding records, a previously made selection would block selecting the
337newly added record
338 - skipped request for updateLiveRows in Ext.ux.grid.BufferedGridView.adjustVisibleRows
339when number of total records in store is less than the number of visible rows
340 - request for buffering data in Ext.ux.grid.BufferedGridView.updateLiveRows() did
341not apply the property "lastOptions.params" to the params sent with the buffer-request
Note: See TracBrowser for help on using the browser.