Opened 10 years ago
Closed 10 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: |
Description
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" query="{entities:'team,server',user:<?=$this->resource('user')->getId();?>,game:<?=$this->resource('game')->getId();?>}" plugins="{filter:true,printer:true,pagination:true,exporter:true}">
Store declaration:
<div id="profile-store" jsId="profileStore" dojoType="dojox.data.JsonRestStore" target="/api/profiles"></div>
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Ignore. You must pass "fetchArgs" to achieve the same functionality.