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
{
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
any takers on this?
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?
is this possible or are multiple filters only applicable to an array collection?
does anyone know or have links on how to validate a uk postode, seeing
as flex only has the us zip code by defualt?
--- 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
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
--- 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
--- 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
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
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.
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)
{
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 (
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
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
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'
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
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);
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();
}
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
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
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.
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
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
25 matches
Mail list logo