Changes between Initial Version and Version 1 of Ticket #13519


Ignore:
Timestamp:
Jul 29, 2011, 6:42:37 AM (9 years ago)
Author:
bill
Comment:

This ticket looks invalid. The code

<span data-dojo-type="dojox.data.HtmlStore" data-dojo-props="dataId:dataSample" data-dojo-id="store1">

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13519

    • Property Status changed from new to closed
    • Property Component changed from General to DojoX Data
    • Property Resolution changed from to invalid
  • Ticket #13519 – Description

    initial v1  
    1 When I'm trying to use dojox.grid.DataGrid with dojox.data.HtmlStore in Firefox(4) it ends up with error:
    2 "ReferenceError: dataSample is not defined in data-dojo-props='dataId:dataSample'".
     1When I'm trying to use dojox.grid.!DataGrid with dojox.data.!HtmlStore in Firefox(4) it ends up with error:
     2"!ReferenceError: dataSample is not defined in data-dojo-props='dataId:dataSample'".
    33
    44My code is:
     5{{{
    56<span data-dojo-type="dojox.data.HtmlStore" data-dojo-props="dataId:dataSample" data-dojo-id="store1"></span>
    67<table id="dataSample" data-dojo-type="dojox.grid.DataGrid" data-dojo-props="store:store1">
    78...
     9}}}
    810
    911What I have to do, to make this work is setting HtmlStore props to:
     12{{{
    1013data-dojo-props="dataId:'intervData', fetchOnCreate:true"
     14}}}
    1115
    1216I don't think this is the best way, and it should work without this fix as it works in other browsers.