Declarative dojox.grid.datagrid's header has onclick event?

biene

New Member
  • Is it possible to have onclick in dojox.grid.datagrid's header.
  • I tried calling a function in header's onclick.. but it doesn't work.\[code\]<div class="claro" id="cvsd" name="dataGrid" onclick="getConnect('inner__cvsd');setWidgetproperty(this.id,'xy','inner__cvsd');" ondblclick="editCustomGrid(this.id)" onmouseup="setDocStyle(this.id)" style="height: 200px; left: 44px; position: absolute; top: 114px; width: 950px;"> <table class="claro" dojotype="dojox.grid.DataGrid" id="inner__cvsd" rowselector="10px" style="height: 180px; width: 400px;"> <thead> <tr> <th field="Column1" id="Column1_2" width="100px" onclick="getConnect();"> Column1 </th> </tr> </thead> </table> <input id="hidden__cvsd" name="dataGrid" style="display:none;" type="hidden">\[/code\]
 
Top