[flexcoders] GroupingCollection with good performance

2008-06-02 Thread sreeni_r
I created a GroupingCollection2 with better performance (in comparision with GroupingCollection) by tweaking the implementation. You can find a sample/swc here http://flexpearls.blogspot.com/2008/06/groupingcollection-with-some- better.html If you have some free time please test it and let me

[flexcoders] Re: How to sorting the results of an OLAPQuery?

2008-05-29 Thread sreeni_r
is that this will sort by the value of the dataField field, that usually is a numeric identifier.. but the sort often must be done on its descriptive name, that is the value actually shown to the users. --- In flexcoders@yahoogroups.com, sreeni_r sreeni_r@ wrote: Have you tried calling

[flexcoders] Re: How to sorting the results of an OLAPQuery?

2008-05-27 Thread sreeni_r
Have you tried calling OLAPSet.hierarchize()? It returns a new OLAPSet in which the members are sorted. --- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote: Hi, I'm trying to sort the results of my OLAPQuery, anyone has tried to do that? I can't find any info in the

[flexcoders] AdvancedDataGrid performance poll

2008-04-07 Thread sreeni_r
Hi, I am conducting two performance polls for AdvancedDataGrid. If you don't mind spending a minute and provide valuable feedback please visit http://flexpearls.blogspot.com/2008/03/datechooser-with-support-for.html Thanks! Sreenivas

[flexcoders] Re: Setting backgroundColor and color

2008-03-21 Thread sreeni_r
Try providing a override of the ADGHeaderRenderer which overrides updateDisplayList and colors the background Sprite properly. The current implementation is painting the background sprite transparent. --- In flexcoders@yahoogroups.com, Marcio Napoli [EMAIL PROTECTED] wrote: Thanks Scott,

[flexcoders] Re: grouping using XMLListCollection in AdvancedDataGrid

2008-02-21 Thread sreeni_r
(); Regards, Nikunj --- In flexcoders@yahoogroups.com, sreeni_r sreeni_r@ wrote: If you set GroupingCollection.source to the XMLListCollection and setup the Grouping and GroupingField properties and call GroupingCollection.refresh it should just work. --- In flexcoders

[flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.

2008-02-21 Thread sreeni_r
left out one of the most important parts. Hope this is added before release. On Thu, Feb 21, 2008 at 12:33 AM, sreeni_r [EMAIL PROTECTED] wrote: I have posted a working sample here which I think you can tweak it work your scenario. http://flexpearls.blogspot.com/2008/02/row

[flexcoders] Re: Alternate row color of DataGridColumn

2008-02-20 Thread sreeni_r
I have posted a sample here http://flexpearls.blogspot.com/2008/02/alternate-row-color-in- datagrid-per.html -Sreenivas --- In flexcoders@yahoogroups.com, Danish Tehseen [EMAIL PROTECTED] wrote: DataGrid alternate item's color can be set by datagrid's alternatingItemColors property, but

[flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.

2008-02-20 Thread sreeni_r
I have posted a working sample here which I think you can tweak it work your scenario. http://flexpearls.blogspot.com/2008/02/row-background-color-in.html -Sreenivas --- In flexcoders@yahoogroups.com, Dominic Pazula [EMAIL PROTECTED] wrote: I thought this would be easy to do, but I have

[flexcoders] Re: grouping using XMLListCollection in AdvancedDataGrid

2008-02-19 Thread sreeni_r
If you set GroupingCollection.source to the XMLListCollection and setup the Grouping and GroupingField properties and call GroupingCollection.refresh it should just work. --- In flexcoders@yahoogroups.com, nikscares4u [EMAIL PROTECTED] wrote: Hi, I am using an XMLListCollection as a

[flexcoders] Re: Grouping Data - need some help

2008-02-19 Thread sreeni_r
Hi, I had posted a implementation of IHierarchicalData called FlatXMLHD which coverts the kind of flat data (XML) you have mentioned into hierarhcical format. The code and sample is available here http://flexpearls.blogspot.com/2007/12/hierarchicaldata-from-flat- xmllist-data.html -Sreenivas

[flexcoders] Re: programatically deselect cells in an AdvancedDataGrid (bump)

2007-12-10 Thread sreeni_r
Try setting the selectedCells to null. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Does it work for regular DataGrid? If not, post your code. If it only fails for ADG, please file a bug and post the bug number From:

[flexcoders] Re: AdvancedDataGrid sortable column headers

2007-12-10 Thread sreeni_r
By setting ADG.sortExpertMode to true you can get rid of the separator. I don't think there is any easy way of getting rid of the number other than using a custom sort item renderer. --- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: Can anybody tell me how to make the

[flexcoders] Re: AdvancedDataGrid::toolTip formatting

2007-12-06 Thread sreeni_r
. Returned HTML text is not accepted. --- In flexcoders@yahoogroups.com, sreeni_r sreeni_r@ wrote: Hi Tung, you can use the trick mentioned here http://www.flex-flex.net/blog/article.asp?id=18 to display html formatted strings as toolTips. -Sreenivas --- In flexcoders

[flexcoders] Re: Flex 3::AdvancedDataGrid::groupItemRenderer is for group or branch node only?

2007-12-06 Thread sreeni_r
ADGGroupItemRenderer is used for all the items in that column because it attempts to show parent and leaf icons for the items. Hence the color is getting applied for the tree column child labels. --- In flexcoders@yahoogroups.com, tungchau81 [EMAIL PROTECTED] wrote: Hi, My AdvancedDataGrid

[flexcoders] Re: Flex 3 : : showDataTips in AdvancedDataGrid does not work any more after groupin

2007-12-05 Thread sreeni_r
This is not working for the tree column due to a bug. You can track the issue here http://bugs.adobe.com/jira/browse/FLEXDMV-1467 --- In flexcoders@yahoogroups.com, tungchau81 [EMAIL PROTECTED] wrote: Hi, I set showDataTips = true in one of an AdvancedDataGridColumn and it works without

[flexcoders] Re: advancedDataGrid drag over column calculating wrong index

2007-11-19 Thread sreeni_r
If you drop the item with the mouse over the top half of the first item it becomes the first item. If you move the mouse over the column header it becomes the last item. It is the same behavior even with simple List. I don't know whether it is a very expected behavior or not ! --- In

[flexcoders] Re: advancedDataGrid drag over column calculating wrong index

2007-11-19 Thread sreeni_r
If you drop the item with the mouse over the top half of the first item it becomes the first item. If you move the mouse over the column header it becomes the last item. It is the same behavior even with simple List. I don't know whether it is a very expected behavior or not ! --- In

[flexcoders] Re: Summary Row in Advanced Data Grid

2007-06-14 Thread sreeni_r
Hi Nate, you can take a look at the exact sample here http://flexpearls.blogspot.com/2007/06/advanceddatagrid-summary-roll-up-sample.html Thanks Sreenivas --- In flexcoders@yahoogroups.com, Nate Pearson [EMAIL PROTECTED] wrote: Does anyone have any examples of the Advanced Data Grid that are

[flexcoders] Re: No help for syntax,methods and properties for flex Controls in QTP can any

2007-06-14 Thread sreeni_r
Documentation is available here http://www.adobe.com/go/flex201_qtp_object_type_reference -Sreenivas --- In flexcoders@yahoogroups.com, srid har [EMAIL PROTECTED] wrote: Hi, I am beginner working with QTP 9.1 to Automate Flex application.there is no help for syntax,methods

[flexcoders] Re: Deleting an Item from a List

2007-06-14 Thread sreeni_r
Here is a sample I wrote doing the deletion. mx:List id=mylist mx:Array mx:Object label=Test Entry 1 / mx:Object label=Test Entry 2 / mx:Object label=Test Entry 3 / mx:Object label=Test Entry 4 / /mx:Array mx:itemRenderer mx:Component mx:HBox

[flexcoders] Re: Howto dynamicly bind XML element to a TextInput component using BindingUtils?

2007-05-04 Thread sreeni_r
Try using private function init(): void { new Binding(this, function():String { return xml.label }, function(value:String):void { txtDemo.text = value }, txtDemo.text); } It worked for me. -Sreenivas --- In flexcoders@yahoogroups.com, xyjaws [EMAIL PROTECTED] wrote: The question

[flexcoders] Re: simple Tree question

2007-05-04 Thread sreeni_r
You can try using tree.dataDescriptor.isBranch(tree.selectedItem, null); This would return true if it is a folder. -Sreenivas --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I have a Tree that has 2 levels, 1- the folder level, 2- the document level (pretty basic). When

[flexcoders] Re: flex 2: showing hand cursor over label field

2005-11-27 Thread sreeni_r
I think the property is non inheriting. Hence need to be set for each component. -Sreenivas. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Try giving the Label a mouseDown event that doesn't do anything. - Original Message - From: Johannes Nel To:

[flexcoders] Re: How to view attachment file

2005-11-25 Thread sreeni_r
Hi Jagadeesh, You can use a custom cell renderer for the DataGridColumn and handle the click event there to show the popup and take necessary action. -Sreenivas --- In flexcoders@yahoogroups.com, jagabcdeff [EMAIL PROTECTED] wrote: Hi All, Now i working on to view attachment file which is

[flexcoders] Re: Cursor change problem

2005-11-25 Thread sreeni_r
Hi Allen, Along with useHandCursor, buttonMode property also needs to be set to true to show the hand cursor. It is property available on Sprite hence available with all UI components in Flex. -Sreenivas. --- In flexcoders@yahoogroups.com, Allen Manning [EMAIL PROTECTED] wrote: Hello,

[flexcoders] Re: Cursor change problem

2005-11-25 Thread sreeni_r
Hi Allen, To show handCursor the buttonMode property needs to be set to true along with useHandCursor. -Sreenivas --- In flexcoders@yahoogroups.com, Allen Manning [EMAIL PROTECTED] wrote: Hello, I saw the below post on Flexcoders, but didn't see an answer. Anyone know how to use