[flexcoders] DataGridCollumn: Display formatted value

2006-11-03 Thread Pascal Schrafl
Hi all, I have a DataGridCollumn where I display the time in Seconds (i.e. 77). I would like to convert the diplayed time into minutes and seconds. I have a function, that converts the seconds into minutes and seconds, i.e. 1:17 The function is named secondsToMinuteString. Here's the code:

Re: [flexcoders] DataGridCollumn: Display formatted value

2006-11-03 Thread Igor Costa
you are trying to access a undefined variable in my concern you didn't have in your function the lengh_seconds but also just secs.RegardsOn 11/3/06, Pascal Schrafl [EMAIL PROTECTED] wrote: Hi all, I have a DataGridCollumn where I display the time in Seconds

Re: [flexcoders] DataGridCollumn: Display formatted value

2006-11-03 Thread Pascal Schrafl
Hi Igor, Thanks for your answer. As far as I understand the function, it gets one parameter passed in (secs in the function). The error is in the DataGridCollumn, there it's complaining, that it can not find the length_seconds value, although it is included in the XML, that gets retrieved.