Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Define/Configure ProjectColumns of xamGantt in XAML
posted

Hello,

I like to configure the ProjectColumns direkt in XAML like this (without any Binding to a ViewModel):

 <ig:ProjectTable.Columns>
 <ig:ProjectColumn Key="Id" Width="43" />
 <ig:ProjectColumn Key="ConstraintType" Width="100" />
 <ig:ProjectColumn Key="ConstraintDate" Width="100" />
 <ig:ProjectColumn Key="IsManual" Width="58" />
 <ig:ProjectColumn Key="TaskName" Width="174" />
 <ig:ProjectColumn Key="ManualDuration" Width="80" />
 <ig:ProjectColumn Key="ManualStart" Width="94" />
 <ig:ProjectColumn Key="ManualFinish" Width="94" />
 <ig:ProjectColumn Key="PredecessorsIdText" Width="102" />
 <ig:ProjectColumn Key="ResourcesText" Width="124" />
 </ig:ProjectTable.Columns>

Only two thinks I like to define

1) With columns are visible by default

2) the "Width" Property of each column.

In your Sample here:

http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/xamGantt_Code_Example_Changing_xamGantt_Column_Set.html

Is a reference to a ViewModel that I dont need:

<local:ProjectTableCollection>

I was not able to define the list of columns in xaml, for the xamGantt, without the local ProjecttableCollection
Parents Reply Children
No Data