Data type to convert and store a srting into decimal/float value

2014-02-25 Thread ashish1703
Hi, I have been facing this issue from quite a while now. I am using mx:datagrid control with column sorting true. Since i have been using XML returned from c#(returns string for each value of xml) i want this to be handled on Flex. I have binded the dataprovider correctly but sorting for the col

Re: Data type to convert and store a srting into decimal/float value

2014-02-26 Thread ashish1703
Hi Om, Thanks for a quick look up, however this still doesn't resolve my issue. For instance i am getting a value="100" from the database displayed in one of the grid column. This is how i followed with the conversion: Step 1: the data returned in the column as string is 100.00 Step 2: passed the

Re: How To Style The ButtonBar?

2014-02-26 Thread ashish1703
Hi Alex, Can you share some screen shots so that it may clear a bit more. However i have styled the button bar in my application globally as follows: s|ButtonBar s|ButtonBarButton:upAndSelected, s|ButtonBar s|ButtonBarButton:overAndSelected, s|ButtonBar s|ButtonBarButton:downAndSelected, s|Button

Re: Data type to convert and store a srting into decimal/float value

2014-02-26 Thread ashish1703
Its the same thing again, if it returns string then the sorting will wont work. As my initial concern was to get the values with decimal places as well as in the form of numbers so that column data can be sorted as well. But since the label function returns string, sorting will not work. and If it