Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
tata668@gmail.com #1
AdvancedDataGrid columns resizing is buggy
Resizing columns in an AdvancedDataGrid seems really buggy. Sometimes
all columns shrink except one that becomes way too big. Sometimes you try to
enlarge a column but when you release the mouse buton it shrink instead.
Am I the only one with those column resizing problem in AdvancedDataGrid? We
even had to add a "resizable = false;" to all columns because of this.
tata668@gmail.com Guest
-
How to add columns to AdvancedDataGrid at runtime?
Hi... Am working with Advanced Datagrid.. Any idea how to add columns into AdvancedDatagridColumnGroup at runtime.? means i need to call a... -
resizing columns questions
I want to resize several columns in a table without changing the width size of the entire table. I understand that I can hold down the shift key... -
buggy flash or buggy pc?
Hi NG! Would you please try to open that site http://pm-trainings.de/__dev/ focusing on the flash in the left frame? The site works absolutely... -
Columns and Inherited Datagrid...Active Schema does not support columns
I have a class which has inherited from datagrid, to provide some custom functionality, row select, mouse overs etc All is working fine apart from... -
Pad strings/concatenate columns to simulate data columns in ASP select box with SQL Server 2K
Dale, Cast all the data to fixed character data type in your select statement. For example: select cast(au_id as char(12)) +... -
Sreenivas R #2
Re: AdvancedDataGrid columns resizing is buggy
We have not seen this issue. It would help if you can post sample code which shows this behavior.
Sreenivas R Guest
-
tata668@gmail.com #3
Re: AdvancedDataGrid columns resizing is buggy
I'll try to make a shot sample but I don't have lots of time today. But here's a video from our QA team: [url]http://d352384.u25.nozonenet.com/open/ColumnResize.avi[/url]
tata668@gmail.com Guest
-
tata668@gmail.com #4
Re: AdvancedDataGrid columns resizing is buggy
Finally it's really easy to reproduce. The ADG doesn't even need to be binded
to a dataProvider for the bug to trigger:
To trigger an example of the buggy behavior, you just have to click (no drag)
at the right of the "field2" columns. Please, look at the image to know where
to click:
image:
[url]http://d352384.u25.nozonenet.com/open/adgBug.png[/url]
code:
-----------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox
xmlns:mx="http://www.adobe.com/2006/mxml"
width="100%"
height="100%"
initialize="initDgTest()">
<mx:Script>
<![CDATA[
import mx.controls.advancedDataGridClasses.AdvancedDataGr idColumn;
private function initDgTest():void
{
var cols:Array = new Array();
var col:AdvancedDataGridColumn;
col = new AdvancedDataGridColumn();
col.dataField = 'field1';
col.headerText = 'field1';
col.width = 310;
col.resizable = true;
cols.push(col);
col = new AdvancedDataGridColumn();
col.dataField = 'field2';
col.headerText = 'field2';
col.width = 50;
col.resizable = true;
cols.push(col);
col = new AdvancedDataGridColumn();
col.dataField = 'field3';
col.headerText = 'field3';
col.width = 100;
col.resizable = true;
cols.push(col);
col = new AdvancedDataGridColumn();
col.dataField = 'field4';
col.headerText = 'field4';
col.width = 100;
col.resizable = true;
cols.push(col);
dgTest.columns = cols;
}
]]>
</mx:Script>
<mx:AdvancedDataGrid
id="dgTest"
width="100%" />
</mx:VBox>
------------------------
tata668@gmail.com Guest
-
tata668@gmail.com #5
Re: AdvancedDataGrid columns resizing is buggy
Any news if this is an official bug?
tata668@gmail.com Guest
-
sameerb #6
Re: AdvancedDataGrid columns resizing is buggy
I'm not able to reproduce this issue.
I just copied the code you have given in a new mxml application. Do I need to do anything else to reproduce this issue.
Note: I'm using Flex 3 Released.
sameerb Guest
-
tata668@gmail.com #7
Re: AdvancedDataGrid columns resizing is buggy
Hi,
Thanks for the reply.
Here, everyone is able to reproduce the bug using the provided code.
Flex Builder 3 pro, release version. Version: 3.0.194161
tata668@gmail.com Guest
-
tntomek #8
Re: AdvancedDataGrid columns resizing is buggy
Also ran into this bug using FB3. Using standard DataGrid here.
Seems when you set the width of a column its ignored.
PreferedWidth and explicitWidth are correct but Width is as was originally.
My issue is I Show/Hide the grid an someitmes I Hide/Show the last column,
even setting widths explicitly they are still ignored.
tntomek Guest
-
tata668@gmail.com #9
Re: AdvancedDataGrid columns resizing is buggy
Bump, thank you.
tata668@gmail.com Guest
-
tata668@gmail.com #10
Re: AdvancedDataGrid columns resizing is buggy
Any news about this? Thank you.
tata668@gmail.com Guest
-
Mirza Asim #11
Re: AdvancedDataGrid columns resizing is buggy
if I am not wrong then you are pointing out the error that by increasing the
width of one column why all other columns get shrinked?
This is infact a problem with ADG horizontal scroll bar. When horzitonal
scroll policy set to "auto" or "off' this problem occurs. But if you set scroll
policy equal to "on" then this problem of resizing will not occur
Mirza Asim Guest
-
Mirza Asim #12
Re: AdvancedDataGrid columns resizing is buggy
Theoratically, when scroll policy set to "auto", scroll bar should be appeared and columns on the right should go out the scroll window instead of shrinking.
Mirza Asim Guest
-
tata668@gmail.com #13
Re: AdvancedDataGrid columns resizing is buggy
[q]Originally posted by: Mirza Asim
This is infact a problem with ADG horizontal scroll bar. When horzitonal
scroll policy set to "auto" or "off' this problem occurs. But if you set scroll
policy equal to "on" then this problem of resizing will not occur[/q]
Thanks a lot for the reply Mirza Asim!
I'm gonna try to set the scrollbar to "on".. I'm busy on other things today
but I'm gonna post my results here when done.
tata668@gmail.com Guest
-
tata668@gmail.com #14
Re: AdvancedDataGrid columns resizing is buggy
Setting the adg.horizontalScrollPolicy to "on" doesn't work.
The bug still occurs.
tata668@gmail.com Guest
-
tata668@gmail.com #15
Re: AdvancedDataGrid columns resizing is buggy
Any news on this?
Thank you
tata668@gmail.com Guest
-
Marta Kostova #16
Re: AdvancedDataGrid columns resizing is buggy
I was in the same situation until I commented headerSeparatorSkin: in my .css file. Without style, everything works fine.
I hope this help,
Marta
Junior Member
- Join Date
- Dec 2010
- Posts
- 1
-
arigs #17
Re: AdvancedDataGrid columns resizing is buggy
@ Morta
I don't think that works, when i tried that, i got the following error
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::AdvancedDataGridBaseEx/getSeparator()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\AdvancedDataGridBaseEx.as:4619]
at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\AdvancedDataGridBaseEx.as:4661]
at mx.controls::AdvancedDataGrid/createHeaderSeparators()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\AdvancedDataGrid.as:2428]
at mx.controls::AdvancedDataGridBaseEx/drawSeparators()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\AdvancedDataGridBaseEx.as:4575]
at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\AdvancedDataGridBaseEx.as:2120]
at mx.controls::AdvancedDataGrid/updateDisplayList()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\AdvancedDataGrid.as:2899]
at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[E:\dev\4.x\frameworks\projects\datavisualization\s rc\mx\controls\listClasses\AdvancedListBase.as:347 2]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\mx\ma nagers\LayoutManager.as:663]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\ma nagers\LayoutManager.as:718]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\fraarigs Guest



Reply With Quote

