Re: AjaxGrid/AjaxGridNavBar question

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Mar 22 2011 - 21:39:51 UTC

  • Next message: Tim Worman: "Re: AjaxGrid/AjaxGridNavBar question"

    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




    This archive was generated by hypermail 2.0.0 : Tue Mar 22 2011 - 21:40:48 UTC