Re: [flexcoders] FilterFunction creating duplicate items in the list

2009-06-01 Thread Rohit Sharma
Hi Srinivas, I tried using creating a different data provider from the roomlist and applying filter functions on that. And then assigning the filtered dataprovider to the roomlist. But still I am seeing the issue. Can you provide some code snippets for what you mean? Thanks,

[flexcoders] FilterFunction creating duplicate items in the list

2009-05-31 Thread Rohit Sharma
Hi All, I am stuck up with this problem. Please provide some insight into it. I have a list component which shows all the game rooms currently existing. As soon as some property of the room changes, I update the corresponding item in the dataprovider using setItemAt. (I typecast

Re: [flexcoders] FilterFunction creating duplicate items in the list

2009-05-31 Thread Srinivas Sandur Madhu Murthy
Longtime back I did face similar issue. I probably believe, you have binded the array collection with data grid or list directly applying filter on this binded array collection. If it is true, then trying not binding them using {}, use flags and commitProperties() method and apply filter

[flexcoders] FilterFunction

2009-03-17 Thread valdhor
You need to check into a number of things... ArrayCollection: http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.\ html You need to know how to filter your data. Here you will find info regarding FilterFunction. CheckBox:

[flexcoders] filterFunction and selecting a Date Range

2008-10-27 Thread Blair Cox
Hi everyone, just thought I would run this by you. With the help of others on this list, we were able to find a way to sort dates returned from a database in a hacked sort of way. What I need to now is to be able to select a range, so this date and this date. Perhaps I¹m over simplifying this,

Re: [flexcoders] filterFunction and selecting a Date Range

2008-10-27 Thread Blair Cox
Cox [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com Date: Mon, 27 Oct 2008 10:58:54 -0300 To: flexcoders@yahoogroups.com Conversation: filterFunction and selecting a Date Range Subject: [flexcoders] filterFunction and selecting a Date Range Hi everyone, just thought I would run

[flexcoders] filterFunction Tilelist effects

2008-09-17 Thread mjharvey1979
Hi, I have created a tilelist component, displaying a grid of products. This is then filtered by the user, using a combobox or typing a search string into a text input box. All works fine up 2 now :) Can anybody give me any tips on how the fade out and re-ordering of the tilelist is achieved

Re: [flexcoders] filterFunction Tilelist effect

2008-09-17 Thread Haykel BEN JEMIA
Didn't test this, but try setting the show and hide effects for the items. -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Sep 17, 2008 at 9:27 PM, mjharvey1979 [EMAIL PROTECTED]wrote: Hi, I have created a tilelist component, displaying a grid of products.

Re: [flexcoders] FilterFunction is throwing an error #1069

2008-09-11 Thread David Harris
Hi, I came across this error not long ago, and when I search about it I found something like this is logged in the Flex issue tracker (Jira) The work round provided is something like: Before you call the filter function on the dataprovider for the Combo box, set the selected index for the combo

[flexcoders] FilterFunction is throwing an error #1069

2008-07-29 Thread jitendra jain
Hi friends, My code is as follows public function setVisitor():void{ if(frm_visitType.selectedItem == E){ visitorList= ObjectUtil.copy(model.visitorList) as ICollectionView;

[flexcoders] FilterFunction is throwing an error #1069

2008-07-29 Thread jitendra jain
Hi friends, My code is as follows public function setVisitor():void{ if(frm_visitType.selectedItem == E){ visitorList= ObjectUtil.copy(model.visitorList) as ICollectionView;

[flexcoders] filterFunction problems being had

2008-05-22 Thread bredwards358
Okay, I'm working on a filter function to sort through information in an ArrayCollection which is filled by the results of a select statement to a database. The actual functionaility is modified ever so slightly from the source I found here:

[flexcoders] filterFunction for Array problem

2008-04-21 Thread grimmwerks
I've got an Array of class objects (a class Circle with a property percentage) coming in. I've got 4 Numeric steppers that are supposed to control each Circle's percentage -- trouble is each of the 4 circles has it's own type - so one stepper controls one circle type, etc. How can I best

Re: [flexcoders] filterFunction for Array problem

2008-04-21 Thread grimmwerks
Seems like 'some' is more what I want...? On Apr 21, 2008, at 3:19 PM, grimmwerks wrote: I've got an Array of class objects (a class Circle with a property percentage) coming in. I've got 4 Numeric steppers that are supposed to control each Circle's percentage -- trouble is each of the 4

[flexcoders] filterFunction - blows up when item field blank

2008-03-27 Thread Don Kerr
I've been using this code below for a long time...but don't fully understand how it works:) It does work great, as long as both title and docNumber are not null. But it blows up if docNumber is null. 1) Can someone explain in words what indexOf does? Obviously it compares the two and spits out a

Re: [flexcoders] filterFunction - blows up when item field blank

2008-03-27 Thread Scott Melby
1) Can someone explain in words what indexOf does? Obviously it compares the two and spits out a number, but I just don't fully grasp what is going on. Why use it instead of just == ? - String.indexOf returns -1 if the specified sequence is not found in the target string (the one you are

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-27 Thread Alex Harui
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Sunday, August 26, 2007 3:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] filterFunction on ArrayCollection Hi Alex, thx for replying, yes i thought so too...but if it is...it won't work on local either

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Ary
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Thursday, August 23, 2007 10:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] filterFunction on ArrayCollection Hi, i have a weird problem with filter function on arraycollection, i have generated

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Alex Harui
: [flexcoders] filterFunction on ArrayCollection Yes, i called a php file who generate data from mysql strange ..cause it works fine on my localhost but not when i upload it to server. --- Alex Harui [EMAIL PROTECTED] mailto:aharui%40adobe.com wrote: Are you filtering when the result event

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Ary
Hi Alex, thx for replying, yes i thought so too...but if it is...it won't work on local either..but it works on localhost... here's the code private function startFilter(toFilter:String):void { categoryString=toFilter; tabSwitch(toFilter);

RE: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] filterFunction on ArrayCollection Hi Alex, thx for replying, yes i thought so too...but if it is...it won't work on local either..but it works on localhost... here's the code private function startFilter(toFilter:String):void { categoryString

Re: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Arpit Mathur
:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Ary *Sent:* Sunday, August 26, 2007 6:07 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] filterFunction on ArrayCollection Hi Alex, thx for replying, yes i thought so too...but if it is...it won't work

Re: [flexcoders] filterFunction on ArrayCollection

2007-08-26 Thread Ary
Hi Guys, make sure you have a crossdomain. xml file on ur server could you explain me more details on this? :)thank you Also, this is probably not the best thing: playlist=userReques t.lastResult. videolink. video yes im getting my data, since at first its not filtered and it return all the

[flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread scott_flex
I have a shared arraycollection of value objects. Singeton, only one instance of this array collection. Dfferent views (in a tab navigator) are generated using this shared array collection but each view filters the data in a datagrid list with different criteria. So.. in each view i

RE: [flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread Alex Harui
create another arraycollection and assign its source to the other arraycollection's source From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Monday, March 26, 2007 8:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread Paul Williams
will also listen for changes to the underlying 'master' list and update accordingly. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Monday, March 26, 2007 4:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] filterFunction and List selection problem

2007-03-20 Thread frank_sommers
I have a List with an ArrayCollection as the data provider. When I set a filter function on the collection, a strange thing happens: When clicking on a list item, the list elements re-arrange themselves in a strange way. The item selection occurs, but the selected item moves to another list

[flexcoders] Filterfunction on a XMLListCollection is misbehaving

2007-02-27 Thread iko_knyphausen
Here is the deal... I have an XMLListCollection as a dataProvider for a dataGrid, so that I can use custom sort and filterfunctions. My application provides for editing selected items (=rows) in the Grid, and when an edit is done, I update the Grid, by setting values of the selectedItem, e.g.

[flexcoders] filterFunction

2007-02-09 Thread kumarpal jain
Hi All, Can some one help me in filterFunction method of listcollectionView or Array Collection .. I am looking for some examples on the same which will help . I am a bit confused in this I want to filter some records in array collection and can we use this method for

Re: [flexcoders] filterFunction

2007-02-09 Thread Clint Tredway
I have what I call filter functions that will find items and remove them or if not found add them.. not sure what you are meaning by filter... On 2/9/07, kumarpal jain [EMAIL PROTECTED] wrote: Hi All, Can some one help me in filterFunction method of listcollectionView or Array Collection ..

[flexcoders] filterFunction between ViewStack MXML components

2006-10-30 Thread pioplacz
Hi! I was just wondering is it possible to make a filterfunction work between ViewStack components. What i mean is i'm calling the HTTP service in my main.mxml but showing the results in MovieView.mxml passing the data works fine. But i can't figure out where i should write the filter