Opened 11 years ago

Closed 11 years ago

#7025 closed defect (invalid)

Set a null Store to the DataGrid,but it doesn't changed

Reported by: guest Owned by: Bryan Forbes
Priority: high Milestone: tbd
Component: DojoX Grid Version:
Keywords: dojox.grid.DataGrid Cc: Nathan Toone
Blocked By: Blocking:

Description

Set a null Store to the DataGrid?,but it doesn't changed.

maybe we should change:

	_onFetchBegin: function(size, req){
		if(this.rowCount != size){
			if(req.isRender){
				this.scroller.init(size, this.keepRows, this.rowsPerPage);
				this.prerender();
			}
			this.updateRowCount(size);
		}
	},

to:

	_onFetchBegin: function(size, req){
		//if(this.rowCount != size){
			if(req.isRender){
				this.scroller.init(size, this.keepRows, this.rowsPerPage);
				this.prerender();
			}
			this.updateRowCount(size);
		//}
	},

no matter how the size is,When the _fetch is apply,we should change the grid.

Change History (2)

comment:1 Changed 11 years ago by Nathan Toone

Cc: Nathan Toone added
Keywords: moreinfo added
Milestone: 1.2tbd

Could you provide steps to reproduce what you are doing? Are you starting with store=null, or are you setting store=null later on? Or does your store just have no data in it?

I'm not quite clear on what the core issue is.

comment:2 Changed 11 years ago by Nathan Toone

Keywords: moreinfo removed
Resolution: invalid
Status: newclosed

Please reopen with test case

Note: See TracTickets for help on using tickets.