Ticket #6706 (closed defect: fixed)

Opened 7 months ago

Last modified 4 months ago

grid has rows but has no data after using setModel

Reported by: guest Owned by: sorvell
Priority: normal Milestone: 1.2
Component: DojoX Grid Version: 1.0
Severity: normal Keywords: grid
Cc: kevin.chin@…

Description

environment:

firefox 2.0.0.14 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.observer(this); this.model.measure(); this.indexCellFields();

to:

this.model.observer(this); this.indexCellFields(); this.model.measure();

Change History

Changed 5 months ago by toonetown

  • status changed from new to closed
  • resolution set to fixed

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

Changed 4 months ago by bill

  • milestone set to 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.