Hi,
i have the following properties set.
RowConnectorStyle = Infragistics.Win.UltraWinGrid.RowConnectorStyle.None
RowSelectors = Infragistics.Win.DefaultableBoolean.False
The Row connectors are hidden which is the behaviour I expect, but instead of the rows "moving" to the left to fill the space of the selectors, I have a white empty space. (it looks a bit like padding). How can I turn off this behavior?
regards
Stefan
I'm not sure what's going on in your applicaiton, but I tried this out and it works fine for me:
private void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e) { e.Layout.RowConnectorStyle = RowConnectorStyle.None; e.Layout.Override.RowSelectors = DefaultableBoolean.False; foreach (UltraGridBand band in e.Layout.Bands) { band.Indentation = 0; } }
Maybe something in your application is overriding these settings after you set them. Like perhaps you a loading a layout or a preset or setting these values in code.
here is the second image.
I have tried 0 with no effect.
In ultragrid1.jpg following settings are made.
DisplayLayout.RowConnectorStyle = Infragistics.Win.UltraWinGrid.RowConnectorStyle.NONE.
DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.FALSE.
In ultragrid2.jpg these setting are commented.
Seems like I can not post two files. (see my second pos)
Hi Stefan,
-1 is the default. Try 0.
If that doesn't work, can you post a screen shot of what space you are referring to?
the spaces are in the root band (bands[0]). the property indentation is set to -1.
Where else can these spaces come from?