Loading ...
Sorry, an error occurred while loading the content.
 

Re: DataTable column resizing with extra header row

Expand Messages
  • Vinay
    ... Nice idea. This could work but for the fact that for a nested header, the column reordering works by dragging the top-level row header, which would be
    Message 1 of 7 , Dec 9, 2009
      --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
      >
      > How about adding a full row of headers by using nested headers with one
      > top header containing each only one child header?
      >

      Nice idea. This could work but for the fact that for a nested header, the column reordering works by dragging the top-level row header, which would be obscured by the filter input box. I tried this out with just a label in the top header row; the column resizing is restrained by the width of that label.

      Regards,

      Vinay Sajip
    • Satyam
      Then, your only option will be to override YAHOO.widget.ColumnDD.onDragOver. Look at the source code because the API docs won t tell you much about it since
      Message 2 of 7 , Dec 9, 2009
        Then, your only option will be to override
        YAHOO.widget.ColumnDD.onDragOver. Look at the source code because the
        API docs won't tell you much about it since it is overriding D&D's own
        method. The code itself will give you a good idea on how to manage your
        own input box. Not the most elegant but if nothing else works .....

        Satyam

        Vinay escribió:
        > --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
        >
        >> How about adding a full row of headers by using nested headers with one
        >> top header containing each only one child header?
        >>
        >>
        >
        > Nice idea. This could work but for the fact that for a nested header, the column reordering works by dragging the top-level row header, which would be obscured by the filter input box. I tried this out with just a label in the top header row; the column resizing is restrained by the width of that label.
        >
        > Regards,
        >
        > Vinay Sajip
        >
        >
        >
        > ------------------------------------
        >
        > Yahoo! Groups Links
        >
        >
        >
        > ------------------------------------------------------------------------
        >
        >
        > No virus found in this incoming message.
        > Checked by AVG - www.avg.com
        > Version: 9.0.709 / Virus Database: 270.14.99/2553 - Release Date: 12/08/09 20:54:00
        >
        >
      • Vinay
        ... Ok, thanks for the pointer. Regards, Vinay Sajip
        Message 3 of 7 , Dec 9, 2009
          --- In ydn-javascript@yahoogroups.com, Satyam <satyam@...> wrote:
          >
          > Then, your only option will be to override
          > YAHOO.widget.ColumnDD.onDragOver. Look at the source code because the
          > API docs won't tell you much about it since it is overriding D&D's own
          > method. The code itself will give you a good idea on how to manage your
          > own input box. Not the most elegant but if nothing else works .....
          >

          Ok, thanks for the pointer.

          Regards,

          Vinay Sajip
        Your message has been successfully submitted and would be delivered to recipients shortly.