Refactor template to separate editable/non-editable <td> and change the demo to show dynamic update of grid config