Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6706 closed defect (fixed)

grid has rows but has no data after using setModel

Reported by: guest Owned by: sorvell
Priority: high Milestone: 1.2
Component: DojoX Grid Version: 1.0
Keywords: grid Cc: [email protected]
Blocked By: Blocking:



firefox in windows XP professional sp2 on dell intel box

steps to reproduce:

1) use setModel method with a model with data 2) use setModel method with a model with no data 3) use setModel method with a model with data

expected result:

after step 1, grid has data. after step 2, grid is empty. after step 3, grid has new data.

observed result:

step 1 and 2 are correct. step3, grid generates the correct # of rows but the rows contain no data

possible fix:

in grid.js file, the method _setModel: change:; this.model.measure(); this.indexCellFields();

to:; this.indexCellFields(); this.model.measure();

Change History (2)

comment:1 Changed 14 years ago by Nathan Toone

Resolution: fixed
Status: newclosed

(In [14333]) Fixes #6706 - was not clearing data correctly, also needed easy ways for changing the query on a table as well !strict

comment:2 Changed 14 years ago by bill

Milestone: 1.2

marking tickets closed in the last three months w/blank milestone to milestone 1.2.

Note: See TracTickets for help on using tickets.