I am generating editable data grids from tables using dynamic data, however, i am unable to set the width of the tables/grids.
Can someone please point me to an article/ or suggest how i can do this?
Thanks in advance.
Regards. Kulu.
Styles are applied to the pages generated by DynamicData with CSS. By Default the GridView on the List.aspx Page Template has a CssClass="gridview". That class has quite a few styles defined in the default Site.css file. including this one:
table.gridview { width: 100%; }
You can change the width value there to make a Global change everywhere this class is used (probably not what you are looking for). If you would like to change the width for just one entity/page you should probably make a Custom Page for that entity.
Steps