Thanks, I think extending the control and simply exposing the maxLength property of the TextField will work.
Thanks for pointing me to what should be a simple solution. Jim On Fri, Apr 24, 2009 at 5:05 PM, Derrell Lipman <[email protected]> wrote: > On Fri, Apr 24, 2009 at 4:30 PM, Jim Hunter <[email protected]> wrote: >> >> On textfields, you can set the maximum amount of characters that the >> user is allowed to enter (setMaxlength), but I don't see any way to >> set this for a cell in a table. Since this data is going back into a >> database, I need to restrict the amount of data that is entered. If I >> have overlooked this let me know. > > Extend qx.ui.table.celleditor.TextField and overload the createCellEditor > method to do whatever you need to the qx.ui.form.TextField which is > instantiated for the cell editor. > > Derrell > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
