[flexcoders] itemRenderer=mx.controls.CheckBox

2006-07-20 Thread mepaninaresh



I am pretty sure this is a bug. Every time a checkbox is selected the other one gets reset. The only conclusion I have reached is I am using aXMLListCollection as a dataProvider.
Any help would be welcome.
PS. My actual code is more complicated than below!!
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundAlpha="0"
mx:HTTPService id="myfileCheckBoxResultsHS" url="" useProxy="false" resultFormat="e4x"/mx:XMLListCollection id="myXMLListCollection" source="{myfileCheckBoxResultsHS.lastResult.ePatrolSearchPage.ePatrolSearchDetail}"/
mx:DataGrid width="800%" height="600%" dataProvider="{myXMLListCollection}" initialize="myfileCheckBoxResultsHS.send()" editable="true"  mx:columns mx:DataGridColumn dataField="Selected" itemRenderer="mx.controls.CheckBox" rendererIsEditor="true" editorDataField="selected" editable="true"/ /mx:columns/mx:DataGrid 
/mx:Application
XML FILE --
?xml version="1.0" encoding="iso-8859-1"?
GraydonUKePatrolSchema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.graydon.co.uk/GraydonXMLSchema/xsd/GraydonUKePatrolSchema.xsd"
ePatrolSearchPage Type="File Changes" Setup="Full"
ePatrolSearchDetail ItemNo="1"
Selectedfalse/Selected
/ePatrolSearchDetail
ePatrolSearchDetail ItemNo="2"
Selectedfalse/Selected
/ePatrolSearchDetail
ePatrolSearchDetail ItemNo="3"
Selectedfalse/Selected
/ePatrolSearchDetail
/ePatrolSearchPage
/GraydonUKePatrolSchema


__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Repeater XML Attribute

2006-06-06 Thread mepaninaresh



Hi, I am trying to retrieve a certain XML node using the attribute value, tried various syntax. Just can't get it to work. Sample code below.
Any ideas?
Thanks for any help.
Amount Type="Number_of_Records" Units="1" Format="Actual"256/AmountAmount Type="Number_of_Critical_Changes" Units="1" Format="Actual"10/Amount Amount Type="High_Risk" Units="1" Format="Percentage"55/Amount 
mx:Repeater id="list" dataProvider="{myHomePageAC}" mx:GridRow width="778" paddingLeft="4" mx:GridItem mx:LinkButton label="{list.currentItem.Amount[0]}" textAlign="center" / /mx:GridItemmx:GridItem mx:LinkButton label="{list.currentItem.Amount[Type=='High_Risk']}" textAlign="center" / /mx:GridItem /mx:GridRow/mx:Repeater

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Chart

2006-06-02 Thread mepaninaresh



I have a 

mx:Repeater id=list dataProvider={myHomePageAC}
 mx:GridRow width=778 paddingLeft=4
 mx:GridItem
 mx:RadioButton 
label={list.currentItem.Name}/ 
 /mx:GridItem
 mx:GridItem 
 mx:LinkButton label={list.currentItem.Amount[0]} 
textAlign=center / 
 /mx:GridItem

.

I Want to include a bar chart here, with the xml data from the 
repeater. Can I do this ?

I have tried.

 mx:BarChart id=bar paddingLeft=5 paddingRight=5 
showDataTips=true
 mx:verticalAxis
 mx:CategoryAxis categoryField={list.currentItem.Chart.Data}/
 /mx:verticalAxis
 mx:series
 mx:Array
 mx:BarSeries yField={list.currentItem.Chart.Data.Value} 
xField={list.currentItem.Chart.Data.Value} displayName=Test/
 /mx:Array
 /mx:series
 /mx:BarChart 

But get an error (Implicit coercion of a value of type 
mx.charts:CategoryAxis to an unrelated type Array.)
..

 /mx:GridRow
/mx:Repeater


Thanks for any help.










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex 2 Beta 3

2006-05-16 Thread mepaninaresh



Still trying to upgrade my working application from Flex 2 Beta 2. I 
have a very unfriendly error message.

Type was not found or was not a compile-time constant: 
IFlexModuleFactory.


No idea where in the source this relates to.

Any ideas,
Naresh.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex 2 Beta 3

2006-05-15 Thread mepaninaresh



I tried to upgrade my application from Flex 2 Beta 2. I have a few of 
these errors :-

Access of possibly undefined property result through a reference with 
static type mx.rpc.http.mxml:HTTPService.

Any ideas?









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex 2 Beta 3

2006-05-15 Thread mepaninaresh




I tried to upgrade my application from Flex 2 Beta 2. This code gives 
me an error :-

 mx:Effect
 mx:WipeDown name=showDetail duration=300/
 mx:WipeUp name=hideDetail duration=300/
 /mx:Effect

Could not resolve mx:Effect to a component implementation.

Any ideas?














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex 2 Beta 2 XML Attribute

2006-05-04 Thread mepaninaresh




I had this working on Flex 2 Beta 1

mx:Label text={nf0.format
(myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Amount.
(Type=='Number_of_Records'))} /

But Flex 2 Beta 2 gives me an error. Data binding will not be able 
to detect assignments to Type. So I've tried the below.

mx:Label text={nf0.format
(myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Amount.attr
ibute(Type=='Number_of_Records'))} /

mx:Label text={nf0.format
(myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Amount
[@Type=='Number_of_Records'])} /

mx:Label text={nf0.format
(myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Amount.@
[Type=='Number_of_Records'])} /

I need the Type=='...' as I have multiple Amounts at the same node 
level. 

Thanking you in advance.
Naresh.









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Flex 2 Beta 2

2006-05-03 Thread mepaninaresh



Just imported my application from Flex 2 Beta 1. Few problems.

1. Could not resolve mx:cellRenderer to a component implementation.

2. Could not resolve mx:Link to a component implementation.

3. Context help does not appear.

Had a great link 
http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.html 
however this does not work with the new flasher player. Any new 
equivalent ?


Thanking you in advance.

Naresh.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Re: Flex 2 Beta 2

2006-05-03 Thread mepaninaresh



Still have one error:-

An internal build error has occurred. Please check the Error Log.

I can't see any errors and have no ideas where to look for 
the Error Log.

Regards,
Naresh.



--- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote:

 http://labs.adobe.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes
 
 search the page for 'Link' and 'cellRenderer'
 
 Link -- LinkButton
 cellRenderer -- itemRenderer
 
 or search the docs that come with FB beta2.
 
 regards,
 Muzak
 
 
 - Original Message - 
 From: mepaninaresh [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, May 03, 2006 12:54 PM
 Subject: [flexcoders] Flex 2 Beta 2
 
 
  Just imported my application from Flex 2 Beta 1. Few problems.
 
  1. Could not resolve mx:cellRenderer to a component 
implementation.
 
  2. Could not resolve mx:Link to a component implementation.
 
  3. Context help does not appear.
 
  Had a great link
  
http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.htm
l
  however this does not work with the new flasher player. Any new
  equivalent ?
 
 
  Thanking you in advance.
 
  Naresh.
 











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Flex 2 Builder 2

2006-05-03 Thread mepaninaresh



The chart explorer does not seem to work. Path problems with the build-
samples.bat file and Path problems with the explorer.html file.

Regards,
Naresh.









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Flash plugin

2006-04-26 Thread mepaninaresh



I can only view my html with my swf with flash plugin 8.5.0.212. If I 
upgrade to 8.5.0.246 I just get a blank page.

Any Ideas.

Thought I'll show the board of directors, not impressed with a blank 
screen. 

Running Flex builder 2 beta 1.

PS only 5 days left before it expires, what happens next ?









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Find Function

2006-04-06 Thread mepaninaresh
If you can get the data in a datagrid, do you not think it is up to 
the built in function to make the sort work? 

Thanks for any help.


--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:

 Sorry to be a bit dim, what do you mean by custom comparator 
function.
 
 Thanks for any help
 
 
 
 
 Matt Chotin [EMAIL PROTECTED] 
 Sent by: flexcoders@yahoogroups.com
 05/04/2006 07:01
 Please respond to
 flexcoders@yahoogroups.com
 
 
 To
 flexcoders@yahoogroups.com
 cc
 
 Subject
 RE: [flexcoders] Re: Find Function
 
 
 
 
 
 
 In your other column you were using an inline renderer to display 
text
 that isn't the column name.  You need to use a custom comparator
 function for that, the default sort is going to be based on the
 columnName.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mepaninaresh
 Sent: Tuesday, April 04, 2006 3:57 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Find Function
 
 The built in sort function in the DataGrid only works for 
 my FreeText column. Are the two problems related? As I beleive 
the 
 built in sort function not working is a bug.
 
 Thanks for any help.
 
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  The cursor find function can't take e4x expressions.  It can 
only 
 do
  exact match searching of what's in the ICollectionView.  So 
you're 
 going
  to need to setup the find a little differently, perhaps find the 
 node
  using e4x, then get its index, then seek to it.
  
  Matt
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of mepaninaresh
  Sent: Monday, April 03, 2006 8:51 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Find Function
  
  I can't seem to get complex xml elements working.
  
  Example 1 works.
  private function findFirstName():void
  {
   createSort();
   var cursor:IViewCursor = myXMLListCollection.getCursor();
   var values:Object = {FreeText: nameInput.text};
   cursor.findFirst(values);
  }
  
  Example 2 does not work.
  private function findFirstName():void
  {
   createSort();
   var cursor:IViewCursor = myXMLListCollection.getCursor();
   var values:Object = {Company.(@Type=='Subject').CompanyId: 
  nameInput.text};
   cursor.findFirst(values);
  }
  -
  
  mx:DataGrid id=myCustomerCountFilterGrid1 width=800% 
  height=600% dataProvider={myXMLListCollection}
   mx:columns
mx:DataGridColumn columnName=FreeText 
headerText=Reference/
mx:DataGridColumn columnName=Name headerText=Name 
 width=250
 mx:cellRenderer
  mx:Component
   mx:Link label={dataObject.Company.
 (@Type=='Subject').Name}/
  /mx:Component
 /mx:cellRenderer
/mx:DataGridColumn
mx:DataGridColumn labelFunction=setRegistrationNo 
  headerText=Registration No/
   mx:DataGridColumn labelFunction=setCreditLimit 
  headerText=Monthly Credit Limit/ 
   mx:DataGridColumn labelFunction=setInsuredLimit 
  headerText=Insured Limit width=40/
   mx:DataGridColumn labelFunction=setOutStandingBalance 
  headerText=Outstanding Balance/ 
   /mx:columns
  /mx:DataGrid
  
  Thanks for any help.
  
  
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 
_
 This e-mail has been scanned for viruses by Verizon Business 
Internet 
 Managed Scanning Services - powered by MessageLabs. For further 
 information visit http://www.mci.com
 
 
 
 
_
 This e-mail has been scanned for viruses by Verizon Business 
Internet Managed Scanning Services - powered by MessageLabs. For 
further information visit http://www.mci.com








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Find Function

2006-04-04 Thread mepaninaresh
The built in sort function in the DataGrid only works for 
my FreeText column. Are the two problems related? As I beleive the 
built in sort function not working is a bug.

Thanks for any help.



--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 The cursor find function can't take e4x expressions.  It can only 
do
 exact match searching of what's in the ICollectionView.  So you're 
going
 to need to setup the find a little differently, perhaps find the 
node
 using e4x, then get its index, then seek to it.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mepaninaresh
 Sent: Monday, April 03, 2006 8:51 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Find Function
 
 I can't seem to get complex xml elements working.
 
 Example 1 works.
 private function findFirstName():void
 {
  createSort();
  var cursor:IViewCursor = myXMLListCollection.getCursor();
  var values:Object = {FreeText: nameInput.text};
  cursor.findFirst(values);
 }
 
 Example 2 does not work.
 private function findFirstName():void
 {
  createSort();
  var cursor:IViewCursor = myXMLListCollection.getCursor();
  var values:Object = {Company.(@Type=='Subject').CompanyId: 
 nameInput.text};
  cursor.findFirst(values);
 }
 -
 
 mx:DataGrid id=myCustomerCountFilterGrid1 width=800% 
 height=600% dataProvider={myXMLListCollection}
  mx:columns
   mx:DataGridColumn columnName=FreeText headerText=Reference/
   mx:DataGridColumn columnName=Name headerText=Name 
width=250
mx:cellRenderer
 mx:Component
  mx:Link label={dataObject.Company.
(@Type=='Subject').Name}/
 /mx:Component
/mx:cellRenderer
   /mx:DataGridColumn
   mx:DataGridColumn labelFunction=setRegistrationNo 
 headerText=Registration No/
  mx:DataGridColumn labelFunction=setCreditLimit 
 headerText=Monthly Credit Limit/  
  mx:DataGridColumn labelFunction=setInsuredLimit 
 headerText=Insured Limit width=40/
  mx:DataGridColumn labelFunction=setOutStandingBalance 
 headerText=Outstanding Balance/   
  /mx:columns
 /mx:DataGrid
 
 Thanks for any help.
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: DataGrid Find Function

2006-04-03 Thread mepaninaresh
Any ideas how I can get hold of the index in order to set 
selectedIndex.

Sample code :-

createSort();
var cursor:IViewCursor = myXMLListCollection.getCursor();
var values:Object = {FreeText: nameInput.text};
cursor.findFirst(values);

Thanks for any help.

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Setting the selectedIndex should work.  Then you can set the 
vPosition
 to scroll to it.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mepaninaresh
 Sent: Friday, March 31, 2006 5:55 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] DataGrid Find Function
 
 I have implemented the find function, all works great. Is there 
any 
 way of setting the selectedIndex of the DataGrid.I want to 
highlight 
 and position?
 
 Regards,
 Naresh.
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Find Function

2006-04-03 Thread mepaninaresh
The findFirst always returns a result by default, even when no match 
is found. Default being the first record. It applies to findLast and 
findAny.

Is it possible to capture this ?

Thanking you for any help.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Find Function

2006-04-03 Thread mepaninaresh
I can't seem to get complex xml elements working.

Example 1 works.
private function findFirstName():void
{
 createSort();
 var cursor:IViewCursor = myXMLListCollection.getCursor();
 var values:Object = {FreeText: nameInput.text};
 cursor.findFirst(values);
}

Example 2 does not work.
private function findFirstName():void
{
 createSort();
 var cursor:IViewCursor = myXMLListCollection.getCursor();
 var values:Object = {Company.(@Type=='Subject').CompanyId: 
nameInput.text};
 cursor.findFirst(values);
}
-

mx:DataGrid id=myCustomerCountFilterGrid1 width=800% 
height=600% dataProvider={myXMLListCollection}
 mx:columns
  mx:DataGridColumn columnName=FreeText headerText=Reference/
  mx:DataGridColumn columnName=Name headerText=Name width=250
   mx:cellRenderer
mx:Component
 mx:Link label={dataObject.Company.(@Type=='Subject').Name}/
/mx:Component
   /mx:cellRenderer
  /mx:DataGridColumn
  mx:DataGridColumn labelFunction=setRegistrationNo 
headerText=Registration No/
 mx:DataGridColumn labelFunction=setCreditLimit 
headerText=Monthly Credit Limit/  
 mx:DataGridColumn labelFunction=setInsuredLimit 
headerText=Insured Limit width=40/
 mx:DataGridColumn labelFunction=setOutStandingBalance 
headerText=Outstanding Balance/   
 /mx:columns
/mx:DataGrid

Thanks for any help.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] DataGrid Find Function

2006-03-31 Thread mepaninaresh
I have implemented the find function, all works great. Is there any 
way of setting the selectedIndex of the DataGrid.I want to highlight 
and position?

Regards,
Naresh.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] format data

2006-03-28 Thread mepaninaresh
I have an xml element which looks like :-

Date Type=Last_Log_on Format=CCYYMMDD![CDATA[20051119]]/Date

I want to display this as for example :-

19/11/2005

I have tried various things, nothing seems to work, sample of my code 
below.

mx:GridItem

  mx:Label 
text={myContentData1.GraydonUKePatrolSchema.ePatrolDetailsPage.Date.
(Type=='Last_Log_on')} /

/mx:GridItem

Any ideas?

Regards,
Naresh.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/