O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Column types

In the preceding section, we saw all but the Last Updated column defined using <ext:Column />. The Last Updated column was defined using <ext:DateColumn />. For the other numeric columns, we were happy to deal with them as strings, because the format functions were going to decorate the values with extra HTML anyway. Also, because our ModelField definition inside our Store for these columns had their Type set to Float, features such as sorting will be numeric sorting.

If you wanted a formatting specific to numbers, for example, rounding the first Change column to one decimal place, even though the raw data is in two decimal places, you could use NumberColumn, because its Format property takes a numeric format to use for display, for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required