Changes between Initial Version and Version 1 of Ticket #12820


Ignore:
Timestamp:
May 2, 2011, 1:51:47 AM (8 years ago)
Author:
bill
Comment:

The functionality you are talking about is part of DataGrid. The parser doesn't have any code for pulling values off of sub-nodes besides <script> tags. So changing component.

Note though that your statement that:

you have to declare it like this

is technically incorrect, you could presumably declare everything in top data-dojo-props field, like:

<table data-dojo-type="dojox.grid.DataGrid" data-dojo-props="
	store: test_store,
	structure: [[
	{name: 'Column 1', field: 'col1'},
	{name: 'Column 2', field: 'col2'},
	{name: 'Column 3', field: 'col3'}
]]">

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12820

    • Property Owner changed from bill to evan
    • Property Component changed from Parser to DojoX Grid
  • Ticket #12820 – Description

    initial v1  
    11When using declarative mode, the parser ignores data-dojo-props on any sub objects of the main declaration.
    22
    3 For example in the situation of a DataGrid, you might expect the following to work:
     3For example in the situation of a !DataGrid, you might expect the following to work:
    44{{{
    55<table data-dojo-type="dojox.grid.DataGrid" data-dojo-props="store:exampleStore">