YUI Datatable – Custom Parser Example

For entry, with my validator, I am validating that no matter what a user types in for a height, I convert it to a float to store in the database (5.10). In retrospect, I should convert it to the inches value, but this example isn’t doing that.

For display, with my formatter, I am standardizing [...]

YUI Datatable – Custom Validator Example

This is the validator I am using to insure that a height (or float) was entered (5’10″, 5′ 10″, 5.10 5 10), and that text (tall, short) was not entered and covert a valid non-float value entered (5’10″, 5′ 10″, 5 10) to a float (5.10), which is how I want to store the [...]

YUI Datatable – Custom Formatter Example

I needed to create a custom formatter for a datatable that contained a cell for an individuals height. The height is stored in the database as a float. 5′ 10″ would be in the database as 5.10. In retrospect I should be storing the height as inches and converting it to feet as [...]

Flex DataGrid

There are a few tutorials out there going into detail about the Flex DataGrid control. They are not easy to find and when you do find them, odds are they were written about a previous version of Flex.

Flex 1.x

Flex 1.0: Sample code for printing from a DataGrid
How to set relative column widths with the [...]