[flexcoders] Re: Subclassed DataGridColumn does not render in FB3 design view mode

2009-11-20 Thread fourctv
@yahoogroups.com, fourctv fourctv@ wrote: Amy, it is already in a swc library. what do you mean by 'program for the design time view'? all my DGC subclass does is add a couple extra properties. no changes or overrides of any sort. tia julio http://blogs.digitalprimates.net

[flexcoders] Subclassed DataGridColumn does not render in FB3 design view mode

2009-11-18 Thread fourctv
[Flex 3.4] I am subclassing DGC in a library of mine. Everything works perfectly, no problems in runtime. But FB3 does not render my columns... If I have a mix of DGC and MyDGC on a DG, the framework's standard DGC render well, mine don't. If I have only MyDGC in a datagrid, it shows as an

[flexcoders] Re: Subclassed DataGridColumn does not render in FB3 design view mode

2009-11-18 Thread fourctv
: --- In flexcoders@yahoogroups.com, fourctv fourctv@ wrote: [Flex 3.4] I am subclassing DGC in a library of mine. Everything works perfectly, no problems in runtime. But FB3 does not render my columns... If I have a mix of DGC and MyDGC on a DG, the framework's standard DGC render well, mine don't

[flexcoders] What's the trick to subclassing DataGrid?

2009-03-07 Thread fourctv
I have a class that extends DataGrid but it has some problems in Flex Builder design mode. When you drag DataGrid from the Components palette to the design area it defaults to a 3 column DG. When I drag my component it comes up as a blank DG, that is, no predefined columns. I tried to tweak my

[flexcoders] DataGrid extension does not render in FB3, why?

2009-03-07 Thread fourctv
Hi, I have subclassed DataGridColumn but it fails to render in FB3 design mode. Everything works nice and dandy, it compiles and runs as expected. But if I use my DGC in a DataGrid nothing shows up in FB3 in design mode. Say I have a DG as: mx:DG mx:columns mx:DGC/ mx:DGC/

[flexcoders] Extended DataGridColumn does not display in design mode

2009-02-12 Thread fourctv
I have subclassed DataGridColumn but for some reason it does not render in design mode. Compiles and runs fine, no problem there. All myDataGridColumn has is a couple extra properties. No code, no overrides, except for a call to super() in the constructor. I checked DataGridColumn's source

[flexcoders] Re: Prevent ItemRenderer click from selecting row?

2009-02-03 Thread fourctv
have you tried datagrid.selectedItems=null? --- In flexcoders@yahoogroups.com, Dennis Falling dfall...@... wrote: I have an ItemRenderer with buttons in it. In the click listener functions for these buttons, I call event.stopImmediatePropagation (and preventDefault, though that doesn't seem

[flexcoders] Re: Anyone using Subclipse 1.4.x in flexbuilder 3 ?

2009-01-27 Thread fourctv
Yes, I've been using it with FB3.2 standalone for some time now. No problems to report. A few goodies over 1.2: - it defaults new objects as selected when committing - no need to update after commit to get the version updated on the navigator All else seems to work as before. cheers, julio ---

[flexcoders] Re: How to get Date type data from mx:DateField?

2008-11-10 Thread fourctv
Try the selectedDate property, that gives you the selected date as a Date object. hth julio --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi, I need get the Date type data from DateField,I can get String type data with text attribute but I can not convert it to

[flexcoders] Re: Custom itemRenderer for Tree

2008-10-13 Thread fourctv
If you care to share the code someone might help you :-) it seems you forgot to paste it... --- In flexcoders@yahoogroups.com, Weyert de Boer [EMAIL PROTECTED] wrote: Hello, I am currently trying to work on a itemRenderer for the Flex Tree component. Only I am having some trouble with it.

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread fourctv
not cause the item to be selected. --- In flexcoders@yahoogroups.com, fourctv fourctv@ wrote: You have 2 options, set either adg.selectedItems or adg.selectedIndices. --- In flexcoders@yahoogroups.com, whatabrain junk1@ wrote: Another old question, I'm sure, but I can't find

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-29 Thread fourctv
You have 2 options, set either adg.selectedItems or adg.selectedIndices. --- In flexcoders@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote: Another old question, I'm sure, but I can't find an answer anywhere on the web. How do I cause a row to be selected in an AdvancedDataGrid?

[flexcoders] Re: Compile issues in FlexBuilder 3

2008-07-02 Thread fourctv
Did you try right-clicking the error message? FB3 should give you the option to re-create the html template folder on the context menu. hth julio --- In flexcoders@yahoogroups.com, daddyo_buckeye [EMAIL PROTECTED] wrote: I have an app in Flex that won't compile, I'm getting a message that

[flexcoders] Re: how does mx:DataGrid state work?

2008-02-22 Thread fourctv
try this: - set the column width to 0 for the hidden columns - make sure datagrid's horizontalScrollPolicy is set to 'auto'. I've had similar situations where non-visible columns would reappear if you simply resized a visible column. The trick above fixed it for me. hth julio --- In

[flexcoders] is there a way to get the local date format

2008-02-06 Thread fourctv
is there any utility function in Flex to give me the local machine setting for date format (mm/dd/ or dd/mm/, for example)? looked up Date, DateUtils, Locale,... and could not find anything that gives me that sort of info. TIA julio

[flexcoders] Re: E4X Namespace Issues...

2008-01-19 Thread fourctv
. Thanks, Todd --- In flexcoders@yahoogroups.com, fourctv fourctv@ wrote: try this: var xml:XML = new XML(inputXML.text); // get the xml var ns:Namespace = xml.namespace(); // extract the default namespace trace('folder13:',xml..ns::folder.(id ==13

[flexcoders] Re: E4X Namespace Issues...

2008-01-16 Thread fourctv
try this: var xml:XML = new XML(inputXML.text); // get the xml var ns:Namespace = xml.namespace(); // extract the default namespace trace('folder13:',xml..ns::folder.(id ==13)); // use it in the E4X expression hth julio

[flexcoders] Tree displays xml node value, can I avoid that? how?

2007-11-10 Thread fourctv
I have a Tree control whose dataProvider gets an xml like: nodes node label=a node label=a.1/ node label=a.2data for node a.2/node node label=a.3/ /node node label=b node label=b.1/ node label=b.2/ /node The rendered tree looks like: [+] a

[flexcoders] How can I send xml data with a ?xml ? to a webservice?

2007-11-05 Thread fourctv
I am sending an XML object as a parameter on a .send() to a web service. From my observation Flex sends the xml data encoded with a macintosh encoding (mac- roman), even when sent from a Windows box. (I checked the traffic and that is what I see) I thought Flex would use utf-8 or utf-16, but

[flexcoders] Re: How can I send xml data with a ?xml ? to a webservice?

2007-11-05 Thread fourctv
rather than an Object (array) of parameters! :D Hope this helps! -Nathan --- In flexcoders@yahoogroups.com, fourctv fourctv@ wrote: I am sending an XML object as a parameter on a .send() to a web service. From my observation Flex sends the xml data encoded