| 4 | | - fixes; |
| | 4 | - fixes: |
| | 5 | - BufferedStore.js: store would not allow for adding records without throwing errors when |
| | 6 | the store was initialized with no records; changed bufferRange to be initialized with [0,0] |
| | 7 | instead of [0, bufferSize] and incremented bufferRange-count according to the records coming |
| | 8 | in, until bufferRange[1] equals to bufferSize |
| | 9 | - BufferedGridView.js, BufferedRowSelectionModel.js: store "add" event would neccessarily |
| | 10 | trigger the selectionmodel's onAdd-listener before the onAdd-listener of the GridView, resulting |
| | 11 | in false rendering of selected records; changed the selection model to listen to the "rowsinserted" |
| | 12 | event of the view and extended this event to pass the length of added record as the fourth |
| | 13 | parameter to all it's listeners |
| | 14 | - BufferedGridView.js: collapsed panel would hide added records of the grid when the grid is |
| | 15 | expanded again and would lose scroll-position; added listener for "expand"-event of the view's |
| | 16 | gridpanel to recalculate visible rows, the buffer inset and reset the scrollbar's position to the |
| | 17 | proper value |
| | 18 | - BufferedGridView.js: "onAdd()" would not always insert records depending on the position they got |
| | 19 | added in the store; updated and improved code based on "rows get added before first visible row", |
| | 20 | "rows get added after the last visible row", "rows get added somewhere in between the first and last visible row" |
| | 21 | - enhancements: |
| | 22 | - BufferedGridView.js: improved calculation of rows that would cause spill when new records |
| | 23 | get added in "insertRows()" |
| | 24 | |
| | 25 | |
| | 26 | Version 0.2rc3 |
| | 27 | 30-August-2008 |
| | 28 | |
| | 29 | - fixes: |