Re: AjaxGrid/AjaxGridNavBar question

From: Tim Worman (list..hetimmy.com)
Date: Tue Mar 22 2011 - 21:44:01 UTC

  • Next message: Chuck Hill: "Re: AjaxGrid/AjaxGridNavBar question"

    On Mar 22, 2011, at 2:39 PM, Chuck Hill wrote:

    >
    > 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

    Thanks Chuck.

    Yeah, I may resort to that. I was hoping there was a magical way the grid component was informing the nav component of its width and hook into that. The table looks really bad with wide columns if the cell contents wrap.

    Tim Worman
    UCLA GSE&IS



    This archive was generated by hypermail 2.0.0 : Tue Mar 22 2011 - 21:44:35 UTC