﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>CapableObjects Forums / ECO / General discussions  / Problem with XtraGrid and ECO5 / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>CapableObjects Forums</description><link>http://www.capableobjects.com/apps/InstantForum414/</link><webMaster>forums@capableobjects.com</webMaster><lastBuildDate>Wed, 08 Feb 2012 22:50:23 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Problem with XtraGrid and ECO5</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic4944-4-1.aspx</link><description>Hi Michael,&lt;br&gt;&lt;br&gt;In your example the "colCategory" column is marked as readonly for some reason (colCategory.OptionsColumn.ReadOnly = true). That's why it's freezed.&lt;br&gt;&lt;br&gt;I also removed the unneeded "self" column from the category lookup editor by doing so: I opened repositoryItemLookUpEdit1.Columns collection editor and pressed "Populate Columns" button. It added two columns from the data source (expression handle), then I simply removed the unneeded one ("self"). Note that when repositoryItemLookUpEdit1.Columns was empty it silently added all (two) columns from the data source.&lt;br&gt;&lt;br&gt;See the modified project attached.&lt;br&gt;&lt;br&gt;Regards,</description><pubDate>Wed, 10 Mar 2010 07:16:25 GMT</pubDate><dc:creator>OZh</dc:creator></item><item><title>RE: Problem with XtraGrid and ECO5</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic4944-4-1.aspx</link><description>Hi again&lt;br&gt;I just made a sample project that show my problem&lt;br&gt;&lt;br&gt;--&lt;br&gt;Kind Regards&lt;br&gt;Michael</description><pubDate>Wed, 03 Mar 2010 10:06:00 GMT</pubDate><dc:creator>CodeWizard</dc:creator></item><item><title>RE: Problem with XtraGrid and ECO5</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic4944-4-1.aspx</link><description>Hi &lt;br&gt;Thx for the reply. &lt;br&gt;Combobox was a poor word choice :) It's ofc a locked LookUpEdit&lt;br&gt;&lt;br&gt;I've done what you've suggested, but I'm still only getting the before mentioned text :/&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Kind Regards&lt;br&gt;Michael</description><pubDate>Tue, 02 Mar 2010 14:48:13 GMT</pubDate><dc:creator>CodeWizard</dc:creator></item><item><title>RE: Problem with XtraGrid and ECO5</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic4944-4-1.aspx</link><description>It should be LookUpEdit and not ComboBox. DevExpress ComboBox does not support data binding. With LookUpEdit, you will need separate ExpressionHandle with Field.allInstances as Expression and set AddSelfColumn property to True. Then you need to set the ValueMember to "self" and DisplayMember to whatever attribute of the "Field" class. Then in XtraGrid's ExpressionHandle, you need to add column with self.Field in the column's collection. It should work.</description><pubDate>Tue, 02 Mar 2010 14:11:32 GMT</pubDate><dc:creator>Sachin Pise</dc:creator></item><item><title>Problem with XtraGrid and ECO5</title><link>http://www.capableobjects.com/apps/InstantForum414/Topic4944-4-1.aspx</link><description>Hi&lt;br&gt;I've tried to follow http://edn.embarcadero.com/print/33816. But all I end up with is a locked combobox with the text: [EditValue is null]&lt;br&gt;I've made sure that the column expression is set to self.field and not self.field.AsString&lt;br&gt;&lt;br&gt;Any ideas how to fix this? :)&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Kind Regards&lt;br&gt;Michael</description><pubDate>Tue, 02 Mar 2010 14:01:01 GMT</pubDate><dc:creator>CodeWizard</dc:creator></item></channel></rss>
