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

Re: [ydn-javascript] Disable CellEditor buttons

Expand Messages
  • Satyam
    Use the disableBtns option: http://developer.yahoo.com/yui/docs/YAHOO.widget.BaseCellEditor.html#property_disableBtns In 2.5 it was set in the editorOptions
    Message 1 of 2 , Dec 8, 2008
      Use the disableBtns option:

      http://developer.yahoo.com/yui/docs/YAHOO.widget.BaseCellEditor.html#property_disableBtns

      In 2.5 it was set in the editorOptions property object in the columns
      definition. like:

      var colDefs = [
      ...,
      {key:'col1', ...., editor:'textbox',editorOptions:{disableBtns:true,
      ... }, ...},
      ...,
      ]

      Satyam


      Avanti.Save wrote:
      > Hi
      >
      > I am using 2.5 version and am not able to figure out how i can disable the
      > "Save/Cancel" buttons on the celleditor. is there any way to do this?
      >
      > The reason i am not using the latest 2.6 version is cause i have already
      > written many custom editors for specific keyboard events and that will take
      > very long to re-write.
      >
      > Thanks
      >
      > Cheers
      > Avanti
      >
      > ------------------------------------------------------------------------
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - http://www.avg.com
      > Version: 8.0.176 / Virus Database: 270.9.15/1837 - Release Date: 08/12/2008 9:38
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.