Hi,
How does one set the width of the grid section the xamGantt control? On initial load, the control always displays with the grid & chart sections having the same width. We'd like to set the initial width of the grid to a different value.
Thanks for any info,
-Lyndon
Hello Lyndon,
After doing some research, this functionality has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
Thanks for the tip, Yanko!
Cheers,
I finally figured this out. I copied in the MetroDark.xamGantt.xaml file into my Themes directory. I then modified the following code at the very end of the file to adjust the initial position of the ProjectGridSplitter. I changed the default '*' to the numeric value of 1250 to move the starting position 1250 pixels to the right.
<Grid x:Name="RootPanel" igPrim:XamlHelper.SnapsToDevicePixels="{TemplateBinding igPrim:XamlHelper.SnapsToDevicePixels}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1250" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
I am trying to determine how to "re-template" this control. Do you have any suggestions on how to do this?