[flexcoders] Re: multiple filters on XMLListCollection how?

2009-06-18 Thread munene_uk
Thanks for the reply...how would the above example work for criteria that comes dynamically through xml data? ive tried this code below on my two combo boxes with id's of colourFilter and sizeFilter respectively... private function filterData():void {

[flexcoders] multiple filters on XMLListCollection how?

2009-06-17 Thread munene_uk
does anyone have any examples of how i can create multiple filters for use in two comboboxes for one datagrid? seems my implementation only filters on one but not both e.g if i select items that are size 12 i cant further select size 12 items that are black... AS3 code below private function

[flexcoders] Re: multiple filters on XMLListCollection

2009-06-10 Thread munene_uk
any takers on this?

[flexcoders] Re: multiple filters on XMLListCollection

2009-06-10 Thread munene_uk
thanks for clearing that up do i need to create different filter functions for each criteria? e.g a function for size filtering and a function for colour filtering?

[flexcoders] multiple filters on XMLListCollection

2009-06-09 Thread munene_uk
is this possible or are multiple filters only applicable to an array collection?

[flexcoders] Validate a UK postcode?

2007-04-30 Thread munene_uk
does anyone know or have links on how to validate a uk postode, seeing as flex only has the us zip code by defualt?

[flexcoders] Re: Using TabNavigator to switch view states

2007-04-22 Thread munene_uk
--- In flexcoders@yahoogroups.com, munene_uk [EMAIL PROTECTED] wrote: i've got two canvases in a tabnavigator which are named students and courses the student canvas contains alot more information than the courses canvas my idea is that when the user click on the course tab

[flexcoders] using a check boxes on a list control

2007-04-22 Thread munene_uk
ive downloaded this sample http://blogs.adobe.com/aharui/CheckBoxList/listSample.swf from http://blogs.adobe.com/aharui/ http://blogs.adobe.com/aharui/ and im tryin to use it in my course management application. im using amfphp 1.9 i simply want the app to retrieve the list of courses

[flexcoders] Re: Using TabNavigator to switch view states

2007-04-22 Thread munene_uk
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: Set resizeToContent on the tab navigator to true. On 4/22/07, munene_uk [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, munene_uk munene_uk@ wrote: i've got two canvases in a tabnavigator which

[flexcoders] Re: using a check boxes on a list control

2007-04-22 Thread munene_uk
--- In flexcoders@yahoogroups.com, munene_uk [EMAIL PROTECTED] wrote: ive downloaded this sample http://blogs.adobe.com/aharui/CheckBoxList/listSample.swf from http://blogs.adobe.com/aharui/ http://blogs.adobe.com/aharui/ and im tryin to use it in my course management application. im

[flexcoders] Using TabNavigator to switch view states

2007-04-21 Thread munene_uk
i've got two canvases in a tabnavigator which are named students and courses the student canvas contains alot more information than the courses canvas my idea is that when the user click on the course tab the tabnavigator should resize(shrink) to fit. does anyone know how i can achieve this? my

[flexcoders] Using relational database with flex (newbie help)

2007-04-20 Thread munene_uk
i know this is kinda not directly a flex question but i figure surely someone must use mysql in here for a flex app. anyway here goes. just a quick questionive got a database of students and i want to somewhat design a relational database so that i can run relational queries.

[flexcoders] Datagrid column width bug? flex 2.0.1

2007-03-19 Thread munene_uk
in my application i can toggle a certain number of columns' visibility through this code: private function displayOptions(item:Number):void { var visible:Boolean; if(dg.columns[item].visible==true) {

[flexcoders] Re: Refreshing Datagrid from pop up window

2007-02-11 Thread munene_uk
ive checked the contents returned and they are exactly the same as the data that populates the grid when the application loads however the only difference between the two is that the first call to update the grid on application load has this line dataProvider = new ArrayCollection (

[flexcoders] Datagrid update woes(blank rows)

2007-02-11 Thread munene_uk
im tryin to successfully update a datagrid to add the latest record added to a Mysql database. the issue seems to be when i update the datagrid all i see is a blank row, however the debugger informs me that the correct results have been returned from the database. has anyone encountered this

[flexcoders] Re: Datagrid update woes(blank rows)

2007-02-11 Thread munene_uk
ok here goes. private function resultHandler(evt:ResultEvent):void { dataProvider = new ArrayCollection ( ArrayUtil.toArray(evt.result) ); // same as: evt.result.toString(); } public function sendResultHandler(evt:ResultEvent):void

[flexcoders] Re: Datagrid update woes(blank rows)

2007-02-11 Thread munene_uk
this is what i got [SWF] F:\Adobe\Flex Builder 2\Projects\bin\Savo_Course_Manager2-debug.swf - 1,103,465 bytes after decompression warning: unable to bind to property 'SURNAME' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'POSTCODE' on class 'Object'

[flexcoders] Re: Datagrid update woes(blank rows)

2007-02-11 Thread munene_uk
how do i find out the index of the last item in order to use addItemAt(evt2.result,index); (if that makes sense!!) --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: try what I suggested in your addItem On 2/11/07, munene_uk [EMAIL PROTECTED] wrote

[flexcoders] Re: Datagrid update woes(blank rows)

2007-02-11 Thread munene_uk
ive done as suggested however i still get a blank row public function sendResultHandler(evt2:ResultEvent):void { var index:int = dg.dataProvider.length; dg.dataProvider.addItemAt(evt2.result,index);

[flexcoders] Re: Datagrid update woes(blank rows)

2007-02-11 Thread munene_uk
great news!!...ive gone back to using remotingConnection and your method worksthank you so much for all your input! public function onSendResult(result :Array) : void { if(!result) return; dg.dataProvider.addItem(result[0]); dg.dataProvider.refresh(); }

[flexcoders] Re: Refreshing Datagrid from pop up window

2007-02-10 Thread munene_uk
well im back with another problem... i followed your example private function sendResultHandler(evt:ResultEvent):void { dataProvider.addItem(ArrayUtil.toArray(evt.result)); dataProvider.refresh(); } however all it does is add a blank result to

[flexcoders] Re: Refreshing Datagrid from pop up window

2007-02-05 Thread munene_uk
some validation and formatting on the server But it also has it's downfalls: - will not get new (or remove deleted) data that was updated outside of the current flex app Hope this helps. Cheers, Adam - Original Message - From: munene_uk To: flexcoders

[flexcoders] Re: Refreshing Datagrid from pop up window

2007-02-05 Thread munene_uk
what can i say..thank you so much that has really helped understand what im doing...could i ask what is the advantage of using remoting connection over remote object...the reason im asking is because i was using remoting connection before.

[flexcoders] Refreshing Datagrid from pop up window

2007-02-04 Thread munene_uk
I have a datagrid that retrieves user detials from a database using AMFPHP 1.9. Within the same application, i also have an option for adding new users to the database via a custom pop window form. How can i get the datagrid to automatically update once i have sent the new users details to the

[flexcoders] displaying an array result as a pop up dialog

2006-11-28 Thread munene_uk
I have built a simple mail application that allows the user to send a message to multiple users. once the message is successfully sent it returns a message i.e the message has been sent to the following recipients [EMAIL PROTECTED], [EMAIL PROTECTED] e.t.c the issue is that this data is