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

Re: Resizable datatable column

Expand Messages
  • zahu71
    I had it included but the order was wrong. I was including it after the datatable. I moved the include before the datatable and now it works. Thanks ... on DD,
    Message 1 of 3 , Dec 21, 2007
    • 0 Attachment
      I had it included but the order was wrong. I was including it after
      the datatable. I moved the include before the datatable and now it works.
      Thanks

      --- In ydn-javascript@yahoogroups.com, "Satyam" <satyam@...> wrote:
      >
      > Have you included the Drag and Drop component? The resizer depends
      on DD,
      > actually, the ColumnResizer object extends DD. When it calls
      this.init, it
      > is the DD init method that is calling.
      >
      > Satyam
      >
      > ----- Original Message -----
      > From: "zahu71" <zaherhammoud@...>
      > To: <ydn-javascript@yahoogroups.com>
      > Sent: Friday, December 21, 2007 8:18 PM
      > Subject: [ydn-javascript] Resizable datatable column
      >
      >
      > > Hi
      > >
      > > Whenever I set the resizeable:true parameter in my datatable column
      > > definition array I get the following error:
      > >
      > > Object does not support this property or method. Actually it's
      > > complaining about this line:
      > >
      > > this.init(sHandleId, sGroup, oConfig);
      > >
      > >
      > > YAHOO.util.ColumnResizer = function(oDataTable, oColumn, elThead,
      > > sHandleId, sGroup, oConfig) {
      > > if(oDataTable && oColumn && elThead && sHandleId) {
      > > this.datatable = oDataTable;
      > > this.column = oColumn;
      > > this.cell = elThead;
      > > this.init(sHandleId, sGroup, oConfig);
      > > //this.initFrame();
      > > this.setYConstraint(0,0);
      > > }
      > > else {
      > > }
      > > };
      > > It seems the method does not exist. Any idea what is happening here?
      > >
      > > Thanks
      > >
      > >
      > >
      > >
      > >
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > > --
      > > No virus found in this incoming message.
      > > Checked by AVG Free Edition.
      > > Version: 7.5.516 / Virus Database: 269.17.5/1191 - Release Date:
      > > 20/12/2007 14:14
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.