dhtml grid state changes