|
Rank: Member Groups: Member
Joined: 7/22/2007 Posts: 10
|
What is the easiet way to set a Gid column's width utilizing a style sheet (CSS) or javascript, please include sample code, thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to take a look of the Grid documentation first. Our Grid is a quite advanced Grid control so it will take more than a few words to explain: http://doc.essentialobjects.com/library/1/grid/start.aspxThere are also a large collection of samples available in the sample package. You can view it online at here: http://demo.essentialobjects.com/Default.aspx?path=Grid Both the documentation and samples are also available on your local machine once you install our product. Please feel free to let us know if you still have questions after you go over those. Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/22/2007 Posts: 10
|
Ok, the issue I'm haiving is trying to get the grid to fill (resize) out a table instead of having to manully set the width...do I have to use a Splitter control to make the Grid fill out the entire area...width -wise.?
thanks
MU
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You can use this function to resize a Grid column: http://doc.essentialobjects.com/library/1/jsdoc.public.gridcolumn.setwidth.aspxThe code will be something like this:
Code: JavaScript
eo_GetObject("Grid1").getColumn(0).setWidth(100);
You will not be able to set the Grid column's size with CSS. Thanks!
|
|
Rank: Member Groups: Member
Joined: 7/22/2007 Posts: 10
|
gotcha...thanks...
MU
|
|