Adobe Dreamweaver Forums



Last 10 THreads :         DIV in Table not working. (Last Post : adambaum - Replies : 8 - Views : 9 )           »          Cannot Connect Remotely to FTP using Dreamweaver CS4 (Last Post : Gadjet King - Replies : 14 - Views : 114 )           »          How to align XML loading text to right (Last Post : loki2357 - Replies : 7 - Views : 8 )           »          Why is this not working!!! (Last Post : mickknight - Replies : 9 - Views : 10 )           »          Clock .getUTC not working (Last Post : kglad - Replies : 1 - Views : 2 )           »          Sound.position (Last Post : kglad - Replies : 3 - Views : 4 )           »          Flex compiler in FlexBuilder and Flex SDK (Last Post : 2009 Matt - Replies : 2 - Views : 3 )           »          Flash Controls Not Displaying in Embedded File (Last Post : kglad - Replies : 3 - Views : 4 )           »          damn bugs again in CS4 (Last Post : xianFF0000 - Replies : 15 - Views : 65 )           »          ProgressEvent reporting incorrect properties? (Last Post : ErikMadsen - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 12-04-2008, 04:02 PM
Martyn Jones
 
Posts: n/a
Diggs:
Default Problem with CheckBox as ItemEditor

Can anyone tell me why this doesn't work please. The datasource
"_selected" property does not get updated when I check/uncheck the box.

thanks.




for each (var dgcataGridColumn in gridResults.columns)
{
......

if (dgc.dataField == "_selected")
{
dgc.setStyle("textAlign", "center");
dgc.headerText = "Select";
dgc.width = 50;
dgc.editable = true;
dgc.itemRenderer = new ClassFactory(CheckBox);
dgc.itemEditor = new ClassFactory(CheckBox);
dgc.editorDataField = "selected";
}


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-04-2008, 04:53 PM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: Problem with CheckBox as ItemEditor

Maybe you need to call validateNow() or invalidateDisplayList().
Reply With Quote
  #3 (permalink)  
Old 12-04-2008, 05:14 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Problem with CheckBox as ItemEditor


"Martyn Jones" <someone@somewhere.com> wrote in message
news:gh8uph$lve$1@forums.macromedia.com...
> Can anyone tell me why this doesn't work please. The datasource
> "_selected" property does not get updated when I check/uncheck the box.


This may help you
http://www.returnundefined.com/2007/...-for-datagrids


Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:41 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk