1 Reply Latest reply on Dec 13, 2010 2:58 AM by RUSH-ME

    maxchars

    bindu84

      I have a DataGridColumn with its editable property set to true.


      Users should only be allowed to enter a max of 30 characters in this field.
      How do I set this?
        • 1. Re: maxchars
          RUSH-ME Level 3

          Hi

           

          You can use a String formatter to the custom ItemRenderer, set the maxChars and show message. Otherwise in a custom ItemRenderer add a TextInput and use a change event. Then check the length of the text and disable or enable it.

           

          Hope this Helps

          Rush-me