Hi have done it by giving an id to the colum and sets its visible
property to hide/show that purticular column.
Thank,
Sanjay
--- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote:
something like this should work (note, this code is off the top of
my head
and not tested)
@yahoogroups.com
Subject: [flexcoders] Re: Adding columns in DataGrid dynamically
Hi have done it by giving an id to the colum and sets its visible
property to hide/show that purticular column.
Thank,
Sanjay
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Jeff Tapper [EMAIL
something like this should work (note, this code is off the top of my head
and not tested)
var colArray:Array = dg.columns;
// remove column 3
var newColArray = colArray.splice(3,1);
dg.columns = newColArray;
At 12:00 PM 2/4/2007, sanjaypmg wrote:
Hi,
How can I delete a colum dynamicall?
Hi,
How can I delete a colum dynamicall?
Thanks
Sanjay
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED]
wrote:
You can reassign the grid's columns property to accomplish this.
Array methods like push don't emit the events necessary for the
component to detect that the
You can reassign the grid's columns property to accomplish this.
Array methods like push don't emit the events necessary for the
component to detect that the array has changed, thus the component
will not update. Try:
public function populateData() {
// code snipped
var newCols: Array = [];
5 matches
Mail list logo