PDA

View Full Version : why are the cell editors grid specific



sjivan
10 Dec 2006, 5:16 PM
It would be useful to attach the cell editors to any field and not just to a grid. For example in the code below, there's nothing really specific to a grid.



var editor = new YAHOO.ext.grid.NumberEditor({allowBlank: false, minValue: 10,
minText: "Nice try buddy, %0 is too small."});



Would it be possible to make them generic and reusabe with any form element too?

Thanks,
Sanjiv

brian.moeskau
10 Dec 2006, 9:37 PM
I believe Jack is already planning on that for the next major release (after or possibly concurrently with the treeview widget) as part of his overall forms library. Of course, any offers of sponsorship would undoubtedly help with prioritizing. :)