You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontrib-discuss
Hi all!
I'm using "Attributes(style => "width:90%")" after the columns
declaration to specify the total width of the grid, but I want to
manage the width of the columns individually.
I've put "Attributes(style => "width:90%")" after each column, but it
doesn't work fine.
Is there a way to specify the width for each column individually?
Thanks!
Jeremy Skinner
unread,
Jun 9, 2009, 9:07:57 AM6/9/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontri...@googlegroups.com
You should be able to use the Attributes method on the column definition like this:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontri...@googlegroups.com
Could you elaborate on what you mean when you say "it doesn't work". Do you get an error? If so, what is the message? Is the style element not being output correctly?
I just put together a quick test using thickbox and the default css and I cannot see any problems.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontri...@googlegroups.com
This is what it sounds like to me. Calling Attributes(style => "width: 90%") on a column will always cause the style attribute to be rendered for the <tr>. If this isn't showing up correctly in the browser then I expect it to be css-related rather than a problem with the grid. One way to be sure would be to temporarily remove the grid and use an HTML table with the same attributes instead.
André Nascentes
unread,
Jun 10, 2009, 7:20:05 AM6/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontri...@googlegroups.com
Hey Jeremy!
It was a fieldset messing the things up! Thanks for the attention and patience!