Search Results

Search found 3 results on 1 pages for 'gauravgr8'.

Page 1/1 | 1 

  • flex datagrid re-assign dataprovider

    - by gauravgr8
    Hi, I am working on a datagrid with custom itemRenderer & [Bindable]xmllist as dataprovider. Now the changes done in xmllist are not reflected on datagrid UI until unless I re-assign the dataprovider as the same xmllist. As the dataprovider is Bindable so re-assigning is not required. But it was not working so I re-assigned the xmllist to the dataprovider of datagrid. It worked. Now my problem is when I re-assign the dataprovider my datagrid flicker(refreshes). It should not happen. 1) Is there any way out to avoid re-assigning of dataprovider? 2) Is there any way to stop flickering of datagrid on re-assigning the dataprovider? Thanks in advance.

    Read the article

  • Flex XMLListCollection sort on nested tags

    - by gauravgr8
    Hi all, I have a requirement of sorting the <ename> in the XML with in the branch. The XML goes like this: <company> <branch> <name>finance</name> <emp> <ename>rahul</ename> <phno>123456</phno> </emp> <emp> <ename>sunil</ename> <phno>123456</phno> </emp> <emp> <ename>akash</ename> <phno>123456</phno> </emp> <emp> <ename>alok</ename> <phno>123456</phno> </emp> </branch> <branch> <name>finance</name> <emp> <ename>sameer</ename> <phno>123456</phno> </emp> <emp> <ename>rahul</ename> <phno>123456</phno> </emp> <emp> <ename>anand</ename> <phno>123456</phno> </emp> <emp> <ename>sandeep</ename> <phno>123456</phno> </emp> </branch> </company> I tried it with taking XML in XMLList: var xl:XMLList = new XMLList(branch.ename) var xlc:XMLListCollection = new XMLListCollection(xl); then applied sort to the <ename>. I am able to get the sorted but XMLListCollection but the problem is I got the <ename> collection sorted but I need the sorted <ename> in the XML. I tried with deleting the the item in Collection then adding the sorted list but in that case the <name> is lost. Please help me out in sorting <ename> or is there any way to specify nested tags in SortField name? Thanks in advance.

    Read the article

  • number with sign in combobox dataprovider

    - by gauravgr8
    Hi, I am trying to display country codes(+91, +60, +01) in the combobox. Although the dataprovider(array) contains + sign but is removed. I am not getting how to show it with sign. <mx:Array id="countryArray"> <mx:Object label="India" data="+91" /> <mx:Object label="Malaysia" data="+60" /> <mx:Object label="Usa" data="+01" /> </mx:Array> Is this the problem with dataprovider? How can I treate them as text not numbers? Please help. Thanks in advance.

    Read the article

1