support for table edit in layout