dhtml grid auto update

Hi,
Can you please share the sample java code for dhtml grid auto update on row/cell data changes using dhtml connector.