[flexcoders] Re: Advanced Data Grid - A working Demo for LockedRowCount property needed

2009-05-06 Thread grg_blls
Thank you,
I hadn't look there but that explains..very clearly. I can see the logical 
difficulty to define this property while with hierarchical data. 
Anyway you helped me very much out of this. 

And I have to express my thanks to all the contributors of this great forum of 
dedicated Flex developers for all the help they offer.

Thanks all 
George

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Basically, lockedRowCount does not do anything if the AdvancedDataGrid is 
 displaying hierachical data.
 
 If you have a look at the AdvancedDataGrid code you will see this comment 
 before the get lockedRowCount() function:
 
 // if dataProvider is hierarchical, return 0
 // because lockedRowCount has no effect in a hierarchical display
 
 
 --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
 
  Hi,
  
  thanks for the working example. Your example displays a flat Data type, 
  though I was trying to have LockedRowCount property work with Hierarchical 
  Data type displayed, without success.
  
  Is it that AdvancedDataGrid doesn't support this property if displaying 
  hierachical data (my prime reason for using this control in place of the 
  normal DataGrid).
  Is this really so? 
  (I couldn't find any documented limitations as to the application of this 
  particular property)
  Please clarify.
  
  Thanks again, 
  George
  
   
  
  --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
  
   Sure...
   
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
[Bindable] private var dp:Array = [
{ symbol: ADBE, name: Adobe Systems Inc., price: 49.95
   },
{ symbol: BETA, name: Beta Inc., price: 19.95 },
{ symbol: CSCO, name: Cisco Inc., price: 45.95 },
{ symbol: DELL, name: Dell Inc., price: 34.95 },
{ symbol: EXPD, name: Expedia Inc., price: 39.95 },
{ symbol: FOXS, name: Fox Sports Inc., price: 9.95 },
{ symbol: GOOG, name: Google Inc., price: 139.95 },
{ symbol: ICON, name: Icon Inc., price: 32.95 },
{ symbol: JUNI, name: Juniper Inc., price: 23.95 },
{ symbol: KLA, name: KLA Tencor Inc., price: 37.95 },
{ symbol: MACR, name: Macromedia Inc., price: 39.95 },
{ symbol: MSFT, name: Microsoft Corp., price: 25.95 },
{ symbol: IBM, name: IBM Corp., price: 42.55 }
];
]]
/mx:Script
mx:AdvancedDataGrid dataProvider={dp} rowCount=9
   lockedRowCount=2
mx:columns
mx:AdvancedDataGridColumn headerText=Name
   dataField=name width=200/
mx:AdvancedDataGridColumn headerText=Symbol
   dataField=symbol width=100/
mx:AdvancedDataGridColumn headerText=Price
   dataField=price width=100/
/mx:columns
/mx:AdvancedDataGrid
   /mx:Application
   
   
   --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
   
Hi all,
   
Is there any working demo example in Flex 3, of a AdvancedDataGrid
   with LockedRowCount property set and capable of demonstrating its
   functionality?
   
Any help will be greatly appreciated.
Thanks in advance
   
George
   
  
 





[flexcoders] Re: Advanced Data Grid - A working Demo for LockedRowCount property needed

2009-05-05 Thread valdhor
Sure...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
 ![CDATA[
 [Bindable] private var dp:Array = [
 { symbol: ADBE, name: Adobe Systems Inc., price: 49.95
},
 { symbol: BETA, name: Beta Inc., price: 19.95 },
 { symbol: CSCO, name: Cisco Inc., price: 45.95 },
 { symbol: DELL, name: Dell Inc., price: 34.95 },
 { symbol: EXPD, name: Expedia Inc., price: 39.95 },
 { symbol: FOXS, name: Fox Sports Inc., price: 9.95 },
 { symbol: GOOG, name: Google Inc., price: 139.95 },
 { symbol: ICON, name: Icon Inc., price: 32.95 },
 { symbol: JUNI, name: Juniper Inc., price: 23.95 },
 { symbol: KLA, name: KLA Tencor Inc., price: 37.95 },
 { symbol: MACR, name: Macromedia Inc., price: 39.95 },
 { symbol: MSFT, name: Microsoft Corp., price: 25.95 },
 { symbol: IBM, name: IBM Corp., price: 42.55 }
 ];
 ]]
 /mx:Script
 mx:AdvancedDataGrid dataProvider={dp} rowCount=9
lockedRowCount=2
 mx:columns
 mx:AdvancedDataGridColumn headerText=Name
dataField=name width=200/
 mx:AdvancedDataGridColumn headerText=Symbol
dataField=symbol width=100/
 mx:AdvancedDataGridColumn headerText=Price
dataField=price width=100/
 /mx:columns
 /mx:AdvancedDataGrid
/mx:Application


--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 Hi all,

 Is there any working demo example in Flex 3, of a AdvancedDataGrid
with LockedRowCount property set and capable of demonstrating its
functionality?

 Any help will be greatly appreciated.
 Thanks in advance

 George




[flexcoders] Re: Advanced Data Grid - A working Demo for LockedRowCount property needed

2009-05-05 Thread grg_blls
Hi,

thanks for the working example. Your example displays a flat Data type, though 
I was trying to have LockedRowCount property work with Hierarchical Data type 
displayed, without success.

Is it that AdvancedDataGrid doesn't support this property if displaying 
hierachical data (my prime reason for using this control in place of the normal 
DataGrid).
Is this really so? 
(I couldn't find any documented limitations as to the application of this 
particular property)
Please clarify.

Thanks again, 
George

 

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Sure...
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  mx:Script
  ![CDATA[
  [Bindable] private var dp:Array = [
  { symbol: ADBE, name: Adobe Systems Inc., price: 49.95
 },
  { symbol: BETA, name: Beta Inc., price: 19.95 },
  { symbol: CSCO, name: Cisco Inc., price: 45.95 },
  { symbol: DELL, name: Dell Inc., price: 34.95 },
  { symbol: EXPD, name: Expedia Inc., price: 39.95 },
  { symbol: FOXS, name: Fox Sports Inc., price: 9.95 },
  { symbol: GOOG, name: Google Inc., price: 139.95 },
  { symbol: ICON, name: Icon Inc., price: 32.95 },
  { symbol: JUNI, name: Juniper Inc., price: 23.95 },
  { symbol: KLA, name: KLA Tencor Inc., price: 37.95 },
  { symbol: MACR, name: Macromedia Inc., price: 39.95 },
  { symbol: MSFT, name: Microsoft Corp., price: 25.95 },
  { symbol: IBM, name: IBM Corp., price: 42.55 }
  ];
  ]]
  /mx:Script
  mx:AdvancedDataGrid dataProvider={dp} rowCount=9
 lockedRowCount=2
  mx:columns
  mx:AdvancedDataGridColumn headerText=Name
 dataField=name width=200/
  mx:AdvancedDataGridColumn headerText=Symbol
 dataField=symbol width=100/
  mx:AdvancedDataGridColumn headerText=Price
 dataField=price width=100/
  /mx:columns
  /mx:AdvancedDataGrid
 /mx:Application
 
 
 --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
 
  Hi all,
 
  Is there any working demo example in Flex 3, of a AdvancedDataGrid
 with LockedRowCount property set and capable of demonstrating its
 functionality?
 
  Any help will be greatly appreciated.
  Thanks in advance
 
  George
 





[flexcoders] Re: Advanced Data Grid - A working Demo for LockedRowCount property needed

2009-05-05 Thread valdhor
Basically, lockedRowCount does not do anything if the AdvancedDataGrid is 
displaying hierachical data.

If you have a look at the AdvancedDataGrid code you will see this comment 
before the get lockedRowCount() function:

// if dataProvider is hierarchical, return 0
// because lockedRowCount has no effect in a hierarchical display


--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 Hi,
 
 thanks for the working example. Your example displays a flat Data type, 
 though I was trying to have LockedRowCount property work with Hierarchical 
 Data type displayed, without success.
 
 Is it that AdvancedDataGrid doesn't support this property if displaying 
 hierachical data (my prime reason for using this control in place of the 
 normal DataGrid).
 Is this really so? 
 (I couldn't find any documented limitations as to the application of this 
 particular property)
 Please clarify.
 
 Thanks again, 
 George
 
  
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  Sure...
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   mx:Script
   ![CDATA[
   [Bindable] private var dp:Array = [
   { symbol: ADBE, name: Adobe Systems Inc., price: 49.95
  },
   { symbol: BETA, name: Beta Inc., price: 19.95 },
   { symbol: CSCO, name: Cisco Inc., price: 45.95 },
   { symbol: DELL, name: Dell Inc., price: 34.95 },
   { symbol: EXPD, name: Expedia Inc., price: 39.95 },
   { symbol: FOXS, name: Fox Sports Inc., price: 9.95 },
   { symbol: GOOG, name: Google Inc., price: 139.95 },
   { symbol: ICON, name: Icon Inc., price: 32.95 },
   { symbol: JUNI, name: Juniper Inc., price: 23.95 },
   { symbol: KLA, name: KLA Tencor Inc., price: 37.95 },
   { symbol: MACR, name: Macromedia Inc., price: 39.95 },
   { symbol: MSFT, name: Microsoft Corp., price: 25.95 },
   { symbol: IBM, name: IBM Corp., price: 42.55 }
   ];
   ]]
   /mx:Script
   mx:AdvancedDataGrid dataProvider={dp} rowCount=9
  lockedRowCount=2
   mx:columns
   mx:AdvancedDataGridColumn headerText=Name
  dataField=name width=200/
   mx:AdvancedDataGridColumn headerText=Symbol
  dataField=symbol width=100/
   mx:AdvancedDataGridColumn headerText=Price
  dataField=price width=100/
   /mx:columns
   /mx:AdvancedDataGrid
  /mx:Application
  
  
  --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
  
   Hi all,
  
   Is there any working demo example in Flex 3, of a AdvancedDataGrid
  with LockedRowCount property set and capable of demonstrating its
  functionality?
  
   Any help will be greatly appreciated.
   Thanks in advance
  
   George