Opened 8 years ago
Closed 8 years ago
#13519 closed defect (invalid)
Firefox not fetching HtmlStore by 'id'
Reported by: | adros | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Data | Version: | 1.6.1 |
Keywords: | HtmlStore, fetch, DataGrid | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
When I'm trying to use dojox.grid.DataGrid with dojox.data.HtmlStore in Firefox(4) it ends up with error: "ReferenceError: dataSample is not defined in data-dojo-props='dataId:dataSample'".
My code is:
<span data-dojo-type="dojox.data.HtmlStore" data-dojo-props="dataId:dataSample" data-dojo-id="store1"></span> <table id="dataSample" data-dojo-type="dojox.grid.DataGrid" data-dojo-props="store:store1"> ...
What I have to do, to make this work is setting HtmlStore? props to:
data-dojo-props="dataId:'intervData', fetchOnCreate:true"
I don't think this is the best way, and it should work without this fix as it works in other browsers.
Change History (1)
comment:1 Changed 8 years ago by
Component: | General → DojoX Data |
---|---|
Description: | modified (diff) |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This ticket looks invalid. The code
expects there to be a global javascript variable called "dataSample" yet you aren't creating one. IIRC, HtmlStore takes the (string) id of a <table> to pull it's data from.