Thought I'd run this by everyone.
If you have a List, whose dataprovider (arraycollection) has an ac tive sort on
it, how do you select a new Item immediately after an addItem call,
programtically?
I can't predict what slot it's going to end up at due to the sort. It used to
be easy before
BTW, Do I need to resort to:
should really say:
Do I need to settle for, or something else, so as not to confuse :)
--- In flexcoders@yahoogroups.com, steveb805 quantumcheese...@... wrote:
Thought I'd run this by everyone.
If you have a List, whose dataprovider (arraycollection
I've done what you described before, but I think you should try
refreshing the dataprovider. arrayDP.refresh();
--- In flexcoders@yahoogroups.com, steveb805 quantumcheesedog@ wrote:
invalidateList is invalidating my mood ... no it's not that bad.
I have a popUpButton:
templateMenu
);
or, each time you change arrayDP, you can re-assign it as the templateMenu's
dataprovider.
Hope this helps,
Tibor.
www.tiborballai.com
--- In flexcoders@yahoogroups.com, steveb805 quantumcheesedog@ wrote:
Hi, actually I don't think that's supported for arrays, only
arraycollections
invalidateList is invalidating my mood ... no it's not that bad.
I have a popUpButton:
templateMenu = new Menu();// global var
templateMenu.labelField = name;
templateMenu.dataProvider = arrayDP;
templateMenu.selectedIndex = 0;
templateMenu.showRoot = true;
templatePopUpButton.popUp =
you've iterated through the result array.
This might be helpful if you want to do client side processing on the data
before displaying it.
Tibor.
--- In flexcoders@yahoogroups.com, steveb805 quantumcheesedog@ wrote:
The solution was actually just to stay with the original idea of mine
this is an aid to someone else.
( If I'm wrong and need to go to Walmart to purchase a clue, let me know
though, but the popupbutton works now )
--- In flexcoders@yahoogroups.com, steveb805 quantumcheese...@... wrote:
I've been trying like heck to get data returned from AMF Remoting and use
I've been trying like heck to get data returned from AMF Remoting and use it
for the data provider for a popUpButton. This data is from MySQL, just regular
text fields/int fields, etc..
---
public var dataXML :XMLListCollection; // the data
I have a mxml component based on TitleWindow that's used for a Popup. Nothing
new there - big yawn goin your way.
I also have an addEventListener called on the object (so I can dispatch a
custom event):
---
win = EditTaskBox(PopUpManager.createPopUp(this, EditTaskBox, true));
Actually, this is a non-issue. The visual activity isn't as bad as I thought
if I just set the filterfunction to null while I'm doing my editing of the
value object.
--- In flexcoders@yahoogroups.com, steveb805 quantumcheese...@... wrote:
I have a filter function for a List that hides
I have a filter function for a List that hides the item if the duedate is
larger than a particular number.
In a function I call, to change a value object field, as soon as I hit this
line below, the filter goes into effect (which is expected since duedate is the
field specified in the filter)
On the verge of creating a non-Trivial Dialog screen/box for my app where a
User creates categories, chooses settings (warn when deleting), Default
behaviour, etc...
It'll have 3 tabs. I'll be pulling the settings from a MySql Options table.
Is it common practice, even for Complex dialog's,
No, I get a Oops! This link appears to be broken. message (chrome)
--- In flexcoders@yahoogroups.com, cuttenv cutt...@... wrote:
Hey guys,
Can anyone browse the source for the flex sdk on adobe's site?
http://opensource.adobe.com:81/svn/opensource/flex/sdk/
I followed the link from the
responseToDeleteAllCompletedHandler(evt:CloseEvent):void{
if(evt.detail == Alert.YES)
trace(Yes);
else
trace(No);
}
On Thu, Nov 12, 2009 at 4:26 PM, steveb805 quantumcheese...@...wrote:
Seems like until now
Hey all, It looks like my original plan to detect a user trying to change the
List selection, and then stopping them from doing so isn't possible from what I
can see.
( The most hopeful sign that this is possible is the itemFocusOut event, but I
can't use this, anyway, due to the editable
Seems like until now, my Alert boxes appear in the center ok.
However, now that I am using a PopUpButton, and in response to one of the menu
item clicks I am calling Alert.show(), the popup box is stuck at the upper left.
My popupbutton handler:
private function
, turbo_vb timh...@... wrote:
Hi Steve,
Popups exist outside the normal DisplayList, so you can work around it
by setting the Alert's parent like this:
Alert.show(your text, your title, 4, parentApplication as Sprite);
-TH
--- In flexcoders@yahoogroups.com, steveb805
wrote:
Seems like until now
This sounds vague, but basically it's:
My Zendamf remoting object has a
fault=faultListener(event), which has an Alert.show statement.
However, I noticed that when I'm on my laptop, and my Net connection is flakey,
this happens:
I create a new Item that then gets added to my List object
, Ukraine (GMT+2)
mobile: +38 097 321 56 54 email:
roman.prots...@...%3C/span%3eroman.prots...@...
skype: roman.protsiuk
linkedin: http://www.linkedin.com/in/romanpv blogspot:
http://roma-ch.blogspot.com
I
On Mon, Nov 9, 2009 at 8:48 PM, steveb805 quantumcheese...@...wrote:
This sounds
Is there any reason that itemDoubleClick would not produce an event ?
I'm trying this itemDoubleClick=evtHandler(event), but the function doesn't
get called. The code for this list is below (but I don't have the
itemdoubleclick in there now)
(ProjectList is an *.as file that overrides List
itemDoubleClick events, you must set the component's
doubleClickEnabled property to true.
Roman
On Sat, Oct 31, 2009 at 10:16 PM, steveb805 quantumcheese...@...wrote:
Is there any reason that itemDoubleClick would not produce an event ?
I'm trying this itemDoubleClick=evtHandler(event
After a marathon Google-fest/Adobe Help Site search, I have not been able to
figure out how an elegant, best-practice, or any other way to get rid of the
horizontal scroll bar that appears when some text doesn't fit into an Item.
You probably have been through this before, but I'll show you
First of all, thanks for the responses concerning the List Items-detecting.
Hopefully those responses made it. I'm on the Probation list where it takes a
while to get approved.
--
This next particular issue is really disturbing me, but it's
The only property I could find, from the Flex docs, that tells you whether your
List control has anything selected is: isItemSelected().
And this takes a parameter that refers to a specific item. So before my Delete
button handler, I check if any item is selected with the following:
private
Hi,
I'm mostly a newbie and am writing a simple Flex app. So far, just a List box,
where I am renderering a Checkbox and a :abel field, for a simple To-Do utility.
I just added the Add New task functionality, and it's working fine, using the
addItem method to add the new object to the List
25 matches
Mail list logo