Re: AjaxGrid/AjaxGridNavBar question

Chuck Hill <[email protected]> Tue, 22 Mar 2011 14:39:51 -0700
Newsgroups gmane.comp.web.webobjects.woproject.devel
Message-ID <[email protected]>
On Mar 22, 2011, at 2:20 PM, Tim Worman wrote:

> In my AjaxGrid config data I have defined css for some of my grid columns to make sure that they do not wrap their content. So, for a column foo in my config data I have set the cssStyle key to include:
> 
> white-space:nowrap;
> 
> The result is that the grid is now rendered wider than the nav bar width. I've looked at AjaxGridNavBar and I can't see how it's width is determined. Is there a way I can stop this easily?
> 
> I should also disclose that I am using a sub-classed AjaxGrid so that it is a single-selection grid for selecting a master object to edit.


You could try setting a fixed width for both.  They are separate components, so only the CSS ties them together.


Chuck


-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects
smime.p7s (application/pkcs7-signature, 3.8 KB) - not displayed