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

Re: DataTable columns configured as resizeable are not

Expand Messages
  • Todd Wells
    Anyone have any ideas on this?
    Message 1 of 4 , Sep 6, 2009
    • 0 Attachment
      Anyone have any ideas on this?

      On Mon, Aug 24, 2009 at 9:16 AM, Todd Wells <ttopwells@...> wrote:
      I'm having a hard time figuring out why some DataTable 2.7.0 columns I've configured as resizeable are not showing up as such.  I've included the dragdrop-min.js and set the columns as resizeable, but I get no resize indicator when I mouse over the column headings. I've successfully used resizeable columns in the past, so I don't know what's wrong here. Any ideas where I should look on this? Just to make sure I hadn't messed it up somehow with some CSS, I commented out all custom (non-YUI sam) CSS, but the problem still occurs.  Here's the column definitions:

          function getTableColumnDefs()
          {
              return [
                  {
                      key: "title",
                      label: "Title",
                      sortable: true,
                      maxAutoWidth: 300,
                      resizeable: true
                  },
                  {
                      key: "plfeed$pid",
                      label: "PID",
                      sortable: true,
                      resizeable: true
                  },
                  {
                      key: "updated",
                      label: "Updated (GMT)",
                      sortable: true,
                      formatter: dateCellFormatter,
                      resizeable: true
                  }
              ];
          }

      And the table definition:

          function getTableConfig()
          {
              return {
                  generateRequest : createRequestUrl,
                  dynamicData:true,
                  sortedBy: {key:"title", dir: YAHOO.widget.DataTable.CLASS_ASC },
                  initialLoad: false,
                  selectionMode: "single",
                  paginator : new YAHOO.widget.Paginator({
                      rowsPerPage: 25,
                      containers: "feedPage",
                      template: "{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}Feeds Per Page",
                      rowsPerPageOptions: [10,25,50,100]
                  })
              };
          }


    • jennykhan
      Have you confirmed that the Drag & Drop code is being loaded correctly? Is it an mouse UI issue or are the Columns not being resized? Without a link to a repro
      Message 2 of 4 , Sep 8, 2009
      • 0 Attachment
        Have you confirmed that the Drag & Drop code is being loaded correctly? Is it an mouse UI issue or are the Columns not being resized? Without a link to a repro case, it is tough to debug.

        Regards,
        Jenny



        --- In ydn-javascript@yahoogroups.com, Todd Wells <ttopwells@...> wrote:
        >
        > Anyone have any ideas on this?
        >
        > On Mon, Aug 24, 2009 at 9:16 AM, Todd Wells <ttopwells@...> wrote:
        >
        > > I'm having a hard time figuring out why some DataTable 2.7.0 columns I've
        > > configured as resizeable are not showing up as such. I've included the
        > > dragdrop-min.js and set the columns as resizeable, but I get no resize
        > > indicator when I mouse over the column headings. I've successfully used
        > > resizeable columns in the past, so I don't know what's wrong here. Any ideas
        > > where I should look on this? Just to make sure I hadn't messed it up somehow
        > > with some CSS, I commented out all custom (non-YUI sam) CSS, but the problem
        > > still occurs. Here's the column definitions:
        > >
        > > function getTableColumnDefs()
        > > {
        > > return [
        > > {
        > > key: "title",
        > > label: "Title",
        > > sortable: true,
        > > maxAutoWidth: 300,
        > > resizeable: true
        > > },
        > > {
        > > key: "plfeed$pid",
        > > label: "PID",
        > > sortable: true,
        > > resizeable: true
        > > },
        > > {
        > > key: "updated",
        > > label: "Updated (GMT)",
        > > sortable: true,
        > > formatter: dateCellFormatter,
        > > resizeable: true
        > > }
        > > ];
        > > }
        > >
        > > And the table definition:
        > >
        > > function getTableConfig()
        > > {
        > > return {
        > > generateRequest : createRequestUrl,
        > > dynamicData:true,
        > > sortedBy: {key:"title", dir: YAHOO.widget.DataTable.CLASS_ASC
        > > },
        > > initialLoad: false,
        > > selectionMode: "single",
        > > paginator : new YAHOO.widget.Paginator({
        > > rowsPerPage: 25,
        > > containers: "feedPage",
        > > template: "{FirstPageLink} {PreviousPageLink} {PageLinks}
        > > {NextPageLink} {LastPageLink} {RowsPerPageDropdown}Feeds Per Page",
        > > rowsPerPageOptions: [10,25,50,100]
        > > })
        > > };
        > > }
        > >
        > >
        >
      • Todd Wells
        Believe me, I understand about the repro case (I work in QA), unfortunately this is not a publicly exposed page at this time. I confirmed via firebug that
        Message 3 of 4 , Sep 8, 2009
        • 0 Attachment
          Believe me, I understand about the repro case (I work in QA), unfortunately this is not a publicly exposed page at this time.  I confirmed via firebug that dragdrop-min.js is being loaded successfully. That was the first thing I checked, actually. 

          I'll work on getting this someplace you can see it (I'll probably need to email you some test credentials directly).

          Best,

          -Todd

          On Tue, Sep 8, 2009 at 5:04 PM, jennykhan <jennyhan@...> wrote:
          Have you confirmed that the Drag & Drop code is being loaded correctly? Is it an mouse UI issue or are the Columns not being resized? Without a link to a repro case, it is tough to debug.

          Regards,
          Jenny



          --- In ydn-javascript@yahoogroups.com, Todd Wells <ttopwells@...> wrote:
          >
          > Anyone have any ideas on this?
          >
          > On Mon, Aug 24, 2009 at 9:16 AM, Todd Wells <ttopwells@...> wrote:
          >
          > > I'm having a hard time figuring out why some DataTable 2.7.0 columns I've
          > > configured as resizeable are not showing up as such.  I've included the
          > > dragdrop-min.js and set the columns as resizeable, but I get no resize
          > > indicator when I mouse over the column headings. I've successfully used
          > > resizeable columns in the past, so I don't know what's wrong here. Any ideas
          > > where I should look on this? Just to make sure I hadn't messed it up somehow
          > > with some CSS, I commented out all custom (non-YUI sam) CSS, but the problem
          > > still occurs.  Here's the column definitions:
          > >
          > >     function getTableColumnDefs()
          > >     {
          > >         return [
          > >             {
          > >                 key: "title",
          > >                 label: "Title",
          > >                 sortable: true,
          > >                 maxAutoWidth: 300,
          > >                 resizeable: true
          > >             },
          > >             {
          > >                 key: "plfeed$pid",
          > >                 label: "PID",
          > >                 sortable: true,
          > >                 resizeable: true
          > >             },
          > >             {
          > >                 key: "updated",
          > >                 label: "Updated (GMT)",
          > >                 sortable: true,
          > >                 formatter: dateCellFormatter,
          > >                 resizeable: true
          > >             }
          > >         ];
          > >     }
          > >
          > > And the table definition:
          > >
          > >     function getTableConfig()
          > >     {
          > >         return {
          > >             generateRequest : createRequestUrl,
          > >             dynamicData:true,
          > >             sortedBy: {key:"title", dir: YAHOO.widget.DataTable.CLASS_ASC
          > > },
          > >             initialLoad: false,
          > >             selectionMode: "single",
          > >             paginator : new YAHOO.widget.Paginator({
          > >                 rowsPerPage: 25,
          > >                 containers: "feedPage",
          > >                 template: "{FirstPageLink} {PreviousPageLink} {PageLinks}
          > > {NextPageLink} {LastPageLink} {RowsPerPageDropdown}Feeds Per Page",
          > >                 rowsPerPageOptions: [10,25,50,100]
          > >             })
          > >         };
          > >     }
          > >
          > >
          >




          ------------------------------------

          Yahoo! Groups Links

          <*> To visit your group on the web, go to:
             http://groups.yahoo.com/group/ydn-javascript/

          <*> Your email settings:
             Individual Email | Traditional

          <*> To change settings online go to:
             http://groups.yahoo.com/group/ydn-javascript/join
             (Yahoo! ID required)

          <*> To change settings via email:
             mailto:ydn-javascript-digest@yahoogroups.com
             mailto:ydn-javascript-fullfeatured@yahoogroups.com

          <*> To unsubscribe from this group, send an email to:
             ydn-javascript-unsubscribe@yahoogroups.com

          <*> Your use of Yahoo! Groups is subject to:
             http://docs.yahoo.com/info/terms/


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