I want to set webgrid's width by js. Js's code is below:
var uwg=$find("uwgLight"); alert(uwg);uwg._element.style.width="1000px";
But alert's dialog window show null. Why?
Hello,
$find works only with our new generation of controls, like WebDataGrid, WebDialogWindow, etc.
For UltraWebGrid, please use the javascript
igtbl_getGridById() function to get a client-side reference to this grid.
More info can be found in our online help, the client-side object model section of the grid.
Hope this helps.