I don't understand how to do it at runtime, with javascript:
I create the grid at runtime, in this way:
var o = $('<table id="' + myId + '" ></table>');
b.append(o)
o.datagrid({...})
please consider that I use datagrid-scrollview + datagrid-cellediting;
the resulting html is, more or less:
![](https://dl.dropboxusercontent.com/u/1181512/jeasy/grr.png)
thanks,
Ric