[flexcoders] DataGrid - problem highlighting cells

2008-12-03 Thread markgoldin_2000
I have a problem with highlighting cells in a DG. I have overridden 
updatDisplayList with my code that does the coloring based on data 
conditions. My problem is when I have two rows to highlight the cells, 
only top row gets color. If I click on a cell in the row below then the 
cell gets background color as well. What might be casuing such effect?

Thanks for help.



RE: [flexcoders] DataGrid - problem highlighting cells

2008-12-03 Thread Alex Harui
See the examples on my blog about data-based coloring.  It is rare to override 
updateDL.  You might be better off using drawHighlightIndicator

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
markgoldin_2000
Sent: Wednesday, December 03, 2008 8:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid - problem highlighting cells


I have a problem with highlighting cells in a DG. I have overridden
updatDisplayList with my code that does the coloring based on data
conditions. My problem is when I have two rows to highlight the cells,
only top row gets color. If I click on a cell in the row below then the
cell gets background color as well. What might be casuing such effect?

Thanks for help.



[flexcoders] DataGrid problem with highlighted row flashing when data is updated

2008-06-16 Thread jbaileyadam
I have a simple DataGrid that gets its data from a dataprovider.  One
of the columns contains a seconds field that is updated every second
by a timer.  Every time the underlying data is updated, the row that
is highlighted by the cursor briefly flashes.  The same hold true if I
position the cursor over a column heading - the column heading
highlighting with briefly flash.  

Is there a way to prevent this behavior?

Thanks,
Jeff



[flexcoders] DataGrid problem

2007-11-19 Thread liorfadida
I have datagrid, with only one column, which its dataProvider is an 
array that contains strings,
So, i have no value to set at the dataField property.

In this case i have no problem to display this array, 
but, the problem starts when i am trying to edit the array values.

The application crushs in DataGrid.itemEditorItemEditEndHandler, 
when trying to access data[property], because there is no property(the 
property value equals to null).

Does any body have solution?



RE: [flexcoders] DataGrid problem

2007-11-19 Thread Alex Harui
DG does not support non-objects.  Use List instead and place a button on
top if you want a header.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of liorfadida
Sent: Monday, November 19, 2007 2:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid problem

 

I have datagrid, with only one column, which its dataProvider is an 
array that contains strings,
So, i have no value to set at the dataField property.

In this case i have no problem to display this array, 
but, the problem starts when i am trying to edit the array values.

The application crushs in DataGrid.itemEditorItemEditEndHandler, 
when trying to access data[property], because there is no property(the 
property value equals to null).

Does any body have solution?

 



Re: [flexcoders] Datagrid problem

2006-11-23 Thread Tom Chiverton
On Wednesday 22 November 2006 16:26, rickdconner wrote:
 just showing me a empty datagrid. here is my code:

Set a break point in both result handlers and see what is coming back.
-- 
Tom Chiverton
Helping to carefully enhance integrated designs



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 Problem

2006-08-03 Thread Silpa sirivella
How can populate data dynamically in data grid??
For ex: i have a XML data, i've to read through items 

items
 itemcode34214/itemcode
 itemdescsomething/itemdesc
 itemprice$23/itemprice
/items
 and more items

i want put all these elements in a array and bind to a DataGrid. Is 
Dynamic datagrid possible??







--
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/
 





RE: [flexcoders] DataGrid Problem

2006-08-03 Thread Tracy Spratt












Yes.



Take a quick look at the documentation,
then post back with any specific questions.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Silpa sirivella
Sent: Thursday, August 03, 2006
7:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
Problem











How can populate data dynamically in data grid??
For ex: i have a XML data, i've to read through items 

items
itemcode34214/itemcode
itemdescsomething/itemdesc
itemprice$23/itemprice
/items
 and more items

i want put all these elements in a array and bind to a DataGrid. Is 
Dynamic datagrid possible??






__._,_.___





--
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.



  






__,_._,___






Re: [flexcoders] DataGrid Problem

2006-08-03 Thread Tariq Ahmed






### test.mxml
?xml version="1.0"?
mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
mx:Model id="someData" source="some.xml"/
 mx:DataGrid dataProvider="{someData.item}"
  mx:columns
 mx:Array
 mx:DataGridColumn dataField="code"
headerText="Code"/ 
 mx:DataGridColumn dataField="desc"
headerText="Desc"/
 mx:DataGridColumn dataField="price"
headerText="Price"/
 /mx:Array
 /mx:columns
 /mx:DataGrid
/mx:Application

### some.xml
?xml version="1.0"?
items
 item
  code34214/code
  descfoo/desc
  price23/price
 /item
 item
  code42234/code
  descbar/desc
  price56/price
 /item 
/items


Silpa sirivella wrote:


  
  How can populate data dynamically in data grid??
For ex: i have a XML data, i've to read through items 
  
items
itemcode34214/itemcode
itemdescsomething/itemdesc
itemprice$23/itemprice
/items
 and more items
  
i want put all these elements in a array and bind to a DataGrid. Is 
Dynamic datagrid possible??
  
  
  




__._,_.___





--
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.



  






__,_._,___