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
1065
EmptyRowSetting
posted

Is it possible to do;

'e.Layout.EmptyRowSettings.ShowEmptyRows=True' in the grid section of the ganttview since this is derived from the ultragrid control and that property is already there.

I can't seem to find a way to initialise the base grid. It would be great if it is exposed.

Parents
  • 69832
    Verified Answer
    Offline posted

    imagehq said:
    I can't seem to find a way to initialise the base grid. It would be great if it is exposed.

    It was decided that doing this would make it possible for the developer to enable UltraGrid settings that cannot peacefully coexist with UltraGanttView.

    Note that you can access the grid via reflection, although we obviously don't recommend doing so (since that defeats the purpose of hiding it in the first place). UltraGanttView exposes an internal property named 'Grid' which is of a type that derives from UltraGrid. You could use reflection to get a reference to this, which would enable you to bypass the WinGanttView public object model and set properties directly on the grid therein, although this would be an "at-your-own-risk" endeavor.

    Also note that EmptyRowSettings is actually one of the properties that I believe will cause the control to not function properly.

Reply Children