Completed
Last Updated: 30 Apr 2018 06:58 by Dimitar
ADMIN
Dimitar
Created on: 10 Apr 2018 05:48
Category: GanttView
Type: Bug Report
0
FIX. RadGanttView - the SpinEditor should not have default minimum and maximum.
The spin editor has a default minimum and maximum (0,100)

Workaround:
private void GanttViewElement_EditorInitialized(object sender, GanttViewItemEditorInitializedEventArgs e)
{
    var editor = e.Editor as BaseSpinEditor;
    if (editor != null)
    {
        editor.MaxValue = int.MaxValue;
        var value = e.Item[radGanttView1.CurrentColumn];
        editor.Value = value;
    }
}
0 comments