[Dojo-interest] How to get datagrid object contained in a ContentPanel?
Lei Lin
linlei99 at gmail.com
Tue Aug 16 19:28:48 EDT 2011
Hi,
My page contains a ContentPane and dataGrid. The dataGrid is defined
in another html page. The question is how to get the dataGrid object
in Contentpane.html. I have tried dijit.byId(), but it doesn't work.
Can someone help me on this question? Thank you in advance.
=====ContentPane.html==========
...
...
<div dojoType="dijit.layout.ContentPane" title="Users and Groups"
id="std_usergroupPane" href="pages/list/gridPage.html">
</div>
...
=====gridPage.html=========
...
...
<div>
<button onclick="addRow()">Add Row</button>
<table id="userListingGrid" dojoType="dojox.grid.DataGrid"
...
...
...
</table>
</div>
More information about the Dojo-interest
mailing list