datafield

Possible to call a function inside BoundColumn.DataField?

<asp:BoundColumn DataField="pos" HeaderText="Principal Office" /> would it be possible to somehow... <asp:BoundColumn DataField="postProccess(pos)" HeaderText="Principal Office" /> ...so I could modify the value as needed? CRAP: A field or property with the name 'postProcess(pos)' was not found on the selected data source. Anyon...

Flex DataGrid reads a field from lastResult.node as number

Why does Flex 3 DataGrid read a string from XML lastResult.node as number? A field is saved as var_char in mysql, php reads it as string and pass it OK. If there are more then 16 charaters it gets rounded.... For example: this in database cell: 12345678901234567 gets read in DataGrid as nubmer as 12345678901234568 this is in database ...

Appropriate data field type for true/false value?

Hi everybody, What's the most appropriate (read least data consuming) data field to store a true/false/1/0 value in a mySQL database? I have previously used a one character long tinyint, but I am not sure if it's the best solution? Thanks! ...

Flex 3: How do I get the DataGridColumn's dataField in its ItemRenderer?

I'm trying to reach the dataField of a DataGridColumn in the itemRenderer. Below is the dataGrid: <mx:Script> <![CDATA[ [Bindable] public var weeksOfMoth:ArrayCollection = new ArrayCollection([ {monday:30, tuesday:31, wednesday:1, thursday:2, friday:3, saturday:4, sunday:5}, {monday:6, tuesday...