What Is ExtJS ExtJS 4+ Extensions Examples Tutorials

28Dec/118

ExtJS 4 Form getValues() Tip

Another bit of undocumented goodness from yours truly. As you probably know, ExtJS4 form panel contains a very useful method: formpanel.getForm().getValues(), which lets you populate an object with form's data. Unfortunately, string format is used for all fields, even datefields. I will show you how to easily get valid data types through an undocumented feature:

VN:F [1.9.22_1171]
Rating: 7.6/10 (22 votes cast)