add widget support
and grid edition mode