Hello,
I need help on resizing datagrid as shown below. I need the grid to resize on its own when the parent container (widget) is resized.
I've tried dojo.connect to connect to window which works. But when I changed to mygrid, it failed.
Thanks in advance
Chepez
Chepez,
Dojo connect has been depreciated for years now. You need to be using Dojo on. Also you have to specify what event you are listening for when using connect or on
on(mygrid, "resize", resizeGrid);