-
3 Sep 2010 8:38 AM #1
grid column types still wrong as far as I can tell xds-1.0.2.13
grid column types still wrong as far as I can tell xds-1.0.2.13
Hi guys. It sure seems that this bug is still acting up (if your diagnosis that my issue is related to this bug is correct.) I am not using the autocolumn feature, I have manually defined the columns in the grid and fields in the store. Still, the rendered code is changing the column xtype to what seems to be arbitrary values. Where I should get a numbercolumn xtype instead I get a boolean or date column. Strange.
If I do try to use autocolumns then I get a message stating that there is no store attached to the grid (even though there is a store (with fields and field types defined) attached via the gear submenu of the grid.
I won't bother attaching another example, should be very easy to duplicate. Let me know if you want the .xds file.
What's up with this? Your help with this matter greatly appreciated.
Dan
-
3 Sep 2010 9:13 AM #2Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
Hi Dan,
xds-1.0.2.14 is the latest release that has the auto columns bug fixed. You should get an automatic update notice when you launch the software.
I don't understand your issue quite frankly. The xtype of the column is based on the column type that is defined in the grid, not what the type of the store field is. If you don't use Auto Columns, then you need to use the appropriate column where applicable. An easy way to change a column is by right-clicking on it and going to the Transform menu. You can also find the column components in the Toolbox under the "Grid" group.
Again, the column type is not dynamically changed based on the store field (dataIndex) that is assigned to it. But, Auto Columns will automatically create columns based on the store fields...and two auto columns issues (one you mentioned above about an undefined store) have been resolved in 1.0.2.14.
Thanks,
Jarred
Edit: I have attached a new copy of your viewport.xds file that has the column types changed to, I believe, the correct types. Namely: Title - default, Author - default, Replies - number, lastpost - date.Last edited by jarrednicholls; 3 Sep 2010 at 9:34 AM. Reason: attached viewport.xds file
-
3 Sep 2010 11:51 AM #3
what I did to create the grid/store
what I did to create the grid/store
Thanks for the reply Jared. The method I used to create the columnModel was to right click on the grid component in the components view and select "Add Column". I then named and set the dataIndex on each column. In the store definition I used the same approach. Right click and select "Add Fields". I then set the name and type of each field. Perhaps it is the mechanism I used that is at fault. I will try to recreate the issue using the tollbox elements and specifically dragging them to the grid.
I'll let you know if there is a difference in the rendered component.
Dan
-
20 Sep 2010 5:30 AM #4Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
Hey Dan,
Any news on the recreation of your column issue?
Thanks,
Jarred
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
How do I set the column types on a Property Grid
By bbxx in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 4 Nov 2009, 6:58 PM -
[FIXED] [1.2]Interactively Resizing Grid column sometimes resizes wrong column
By sbarkdull in forum Ext GWT: Bugs (1.x)Replies: 3Last Post: 4 Dec 2008, 7:24 PM -
Specifying column types when converting an existing table into a Grid?
By Buddy Bradley in forum Ext 1.x: Help & DiscussionReplies: 7Last Post: 18 Apr 2007, 7:20 AM


Reply With Quote