[flex_india:34588] AdvancedDataGrid with XMLListCollection dataprovider filterd with a filter function

2011-09-30 Thread zied Majdoub
Hello, I have some incoherent behaviour on editable ADG, I use a filterFunction to filter the dataGrid's data, based on an XML node value, and when I add new line to the dataGrid, then update one of them, the data is updated on both 2 rows. It seems like the filter function is the cause. Any one

[flex_india:34592] Re: AdvancedDataGrid with XMLListCollection dataprovider filterd with a filter function

2011-09-30 Thread zied Majdoub
Found the problem, since some xml in the XMLListCollection have the same body, I had to add a uid so the component won't get lost finding the object. thanks On Sep 30, 3:03 pm, zied Majdoub zied.e...@gmail.com wrote: Hello, I have some incoherent behaviour on editable ADG, I use

[flex_india:29684] AdvancedDataGridColumn: Using sortCompareFunction with non valid dataField property

2010-04-27 Thread zied Majdoub
Hi, I have an AdvancedDataGrid with a HierarchicalData as a data provider. In order to put in the same column values correspondent to different attribute names dependent on if the data is from a root or a leaf of the dataProvider, I set a list of dataField separated by a space and the

[flex_india:24648] Sorting with a labelFunction

2009-08-20 Thread zied Majdoub
Hi, I have a dataGrid with a dataProvider an XML file filled with Ids. I added in the column a labelFunction in order to return a name related to the id. But when i sort the column, it's sorting by the id value, not the label. When I use a sortCompareFunction, I can't look for the name, because I

[flex_india:24651] Re: Sorting with a labelFunction

2009-08-20 Thread zied Majdoub
the example in this link, if any doubt pls try to give a simplified code, it will help us to helphttp://blog.flexexamples.com/2008/04/09/creating-a-custom-sort-on-a-d... On Thu, Aug 20, 2009 at 6:32 PM, zied Majdoub zied.e...@gmail.com wrote: Hi, I have a dataGrid with a dataProvider an XML

[flex_india:20529] Re: set Function attribute with Action script

2009-03-18 Thread zied Majdoub
in the code. HTH -Sambhav On Mar 17, 8:06 pm, zied Majdoub zied.e...@gmail.com wrote: Hi Ravi, Actually, I have the function that returns a String. But I want to get the name of the function from an XML file. And I want to set dgc.labelFunction at runtime where I only have the name

[flex_india:20542] Re: set Function attribute with Action script

2009-03-18 Thread zied Majdoub
written in the code. HTH -Sambhav On Mar 17, 8:06 pm, zied Majdoub zied.e...@gmail.com wrote: Hi Ravi, Actually, I have the function that returns a String. But I want to get the name of the function from an XML file. And I want to set dgc.labelFunction at runtime where I only have

[flex_india:20490] set Function attribute with Action script

2009-03-17 Thread zied Majdoub
Hi, I want set a Function attribute using AS, but I only have the function name as a string. For example I want to put labelFunction to DataGridColumn object. public function set labelFunction(value:Function):void { _labelFunction = value; if (owner) {

[flex_india:20512] Re: set Function attribute with Action script

2009-03-17 Thread zied Majdoub
 pm, zied Majdoub zied.e...@gmail.com wrote: Hi Ravi, I have created some label functions, and I want to create on runtime my dataGrid. I want to set the labelFunction of a dataGrid column by getting the name of the function as a string from an xml. example: var dgc:DataGridColumn = new

[flex_india:20457] Re: How to translate dataBinding from MXML to AS

2009-03-16 Thread zied Majdoub
Hi, I found the solution. I just had to override set data. On 13 mar, 16:55, zied Majdoub zied.e...@gmail.com wrote: Hi again, Sorry for the late reply. Actually I am using an item editor component. I'm creating a datagrid dynamically with ClassFactory items and passing the properties

[flex_india:20403] Re: How to translate dataBinding from MXML to AS

2009-03-13 Thread zied Majdoub
and pass it to the ClassFactory.properties using actionScript language. Thanks, Zied Majdoub On 10 fév, 20:39, Shaleen Jain shaleenkumarj...@gmail.com wrote: I guess you are writing an inline itemEditor, you may write it something like this mx:DataGridColoumn other properties

[flex_india:20245] Re: BlazeDS streaming: subscribed Client problem

2009-03-10 Thread zied Majdoub
I've added those lines to see in the log if the consumer is subscribed: trace(Is Consumer connected: + consumer.connected); trace(Is Consumer subscribed: + consumer.subscribed); And the results were: false false Any Idea? On 9 mar, 15:56, zied Majdoub zied.e...@gmail.com wrote: Hi, I am

[flex_india:20270] Re: BlazeDS streaming: subscribed Client problem

2009-03-10 Thread zied Majdoub
, zied Majdoub zied.e...@gmail.com wrote: I've added those lines to see in the log if the consumer is subscribed: trace(Is Consumer connected: + consumer.connected); trace(Is Consumer subscribed: + consumer.subscribed); And the results were: false false Any Idea? On 9 mar, 15:56, zied

[flex_india:13346] Problem with BlazeDS

2008-08-27 Thread Zied Majdoub
Hi, I'm trying to use BlazeDS to send a dataFeed to flex clien, but when I call : MessageBroker msgBroker = MessageBroker.getMessageBroker(null); msgBroker is null ! Anyone have an Idea? Best Regards -- Zied Majdoub --~--~-~--~~~---~--~~ You received