AnsweredAssumed Answered

How to Close a data grid

Question asked by mcdade31 on Dec 19, 2012
Latest reply on Dec 28, 2012 by mcdade31
Does anybody have any ideas how to create an X in the top right corner to close a dojox.grid.DataGrid? I figured it would be as easy as styling the X and creating an onclick event similar to:

<tr>                     <td align="right">                         <div class="divOk" onclick="dijit.byId('datagrid').hide();">                             X</div>                     </td>                 </tr>


but that doesn't do anything...

Outcomes