Thank you for reporting this bug. We will make it our priority to review this report.
grid column types still wrong as far as I can tell xds-126.96.36.199
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.
xds-188.8.131.52 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 184.108.40.206.
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
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.
Any news on the recreation of your column issue?