Opened 11 years ago

Closed 11 years ago

#12529 closed defect (invalid)

[BUG] JsonRestStore + dojox.grid.EnhancedGrid + Printer generates invalid URL.

Reported by: ckspraggs Owned by: evan
Priority: high Milestone: 1.6.1
Component: DojoX Grid Version: 1.6.0
Keywords: Cc:
Blocked By: Blocking:


Using grid.exportToHTML({cssFiles:test.css?}, function(str) { console.log(str) }); with JsonRestStore?, dojox.grid.EnhancedGrid?, and the Printer plugin generates a request to the following: http://{store_target}/undefined?sort(+name).

Grid declaration:

<table jsId="grid" id="profile-grid" dojoType="dojox.grid.EnhancedGrid" sortInfo="1"
	store="profileStore" class="data-grid" autoHeight="25" selectionMode="single"

Store declaration:

<div id="profile-store" jsId="profileStore" dojoType="" target="/api/profiles"></div>

Change History (2)

comment:1 Changed 11 years ago by ckspraggs

Ignore. You must pass "fetchArgs" to achieve the same functionality.

comment:2 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.