Hello,
i would like to insert a custom column in the grid section with a checkbox for select/unselect some gantt rows. Is it possible? Can someone show me how to do it? I am workin with a custom project based on this example: http://help.infragistics.com/Help/Doc/WPF/2013.1/CLR4.0/html/xamGantt_Code_Example_Creating_View_for_xamGantt_using_Custom_Classes.html
Thanks,
Fabrizio
Hello Fabrizio,
Adding a Custom Column has been determined to be a product idea. You can suggest new product ideas for future versions by emailing ideas@infragistics.com.
Submitting your idea will send it directly to our product management team so that it can be imported into our new ideas community once live: http://ideas.infragistics.com.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. You can also link back to this thread for additional details.
As a workaround you can use the RowSelectorCellControl and add to its ContentPresenter a CheckBox. The style is located in C:\Program Files (x86)\Infragistics\2017.1\WPF\DefaultStyles\XamGrid\generic.shared.xaml. I have created a small sample using this approach. Please find it as an attached file.
Thanks you very much Nick, i have another question now: how can I set the division bar between the grid and the chart to be at a specific position by default? Let's say i have just two columns so i need the bar to be very close to the left edge of the xamGantt grid.
Thanks, Fabrizio
When there are several different questions - the best approach is to separate them in different forum posts, this way the communication would be easier and there would be no confusion about different the issues.
That is the reason I have created "Set the first and last day visualized in the chart section of the gantt" as separate forum thread.You can find it here:
https://es.infragistics.com/community/forums/t/111423.aspx
I will continue to update it regarding its question.
If you need more information about "CheckBox column on Grid gantt section", please let me know.
Thank you for your feedback.
You will have to set also the DisplayFormat. If you want hours to be displayed in 24H format you can set it, e.g.:
<ig:TimescaleBand DisplayFormat="HH" Unit="Hours" UnitCount="6" />
If you have further questions about this matter, please let me know.
Hi Nick, i have another question: how can i display the hours in the timescale band in a 24h format (not 2,8,2,8 but 2,8,14,20)?
I have the following rows on my code
<ig:Timescale><ig:TimescaleBand Unit="Days" UnitCount="1" /><ig:TimescaleBand Unit="Hours" UnitCount="6" /></ig:Timescale>
What do i need to add?
Thank you for your feedback.There are properties "GridWidth" and "ChartWidth" you can use. You can also take look at Configuring Sections (xamGantt) documentation topic for more detailed description.
If you have further questions concerning this matter please let me know.