Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-30-2007, 12:52 PM   #1
mojito
Senior Member
 
mojito's Avatar
 
Join Date: Jun 2001
Location: London
Posts: 523
Question Still can't bind a grid to a dataset with code !

I dont want to place the components on the first frame for cleanliness (is this the problem) I see that I need to do this to make bindings with the inspector.

I am creating a clean interface and want to be able to position my grid and see it later on not on the first frame.

here is my binding code
Code:
gridBind.component = myDG;
gridBind.property = "dataProvider";

sourceBind.component = myDS;
sourceBind.property = "dataProvider";

var DGtoDS:Binding = new Binding(gridBind,sourceBind);


bttn.onPress = function() {
	var bindingResults:Array = DGtoDS.execute(false);
}
// on press I make the binding happen and the sharing of the data

but I cannot see this has happened
I would really prefer the control to bind like this if possible, this has been bugging me a while now any takers...?
mojito is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Flash 8] AS code for several frames in frame 1. tjonmage ActionScript 2.0 3 12-01-2005 02:45 AM
DataSet DataGrid CellRenderer bug? hugobossv8 Components 1 07-28-2005 08:32 AM
Keeping Dataset record synced with Datagrid.. dwalsh9x Components 1 07-01-2005 05:25 AM
Create a grid for use as a mask and other stuff rhythmicdevil ActionScript 1.0 (and below) 0 09-14-2004 05:03 PM
Help with creating a Object Grid Prototype Slowburn ActionScript 1.0 (and below) 0 05-21-2004 02:11 PM


All times are GMT. The time now is 11:07 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.