Hi,
I'm using XamDataGrid 9.2. I have a layout with small number of columns so I set AutoFitMode=ExtendLastField to fill the grid horizontally. With this setting however I am unable to manually resize any of the columns approriately.
So what I want to happen is to extend the last field to fill the grid (which works OK) but also when I resize one of the columns and increase its width the lenght of the record presenter should correspondingly increase so that a horizontal scroll bar appears. Can you let me know how I could achieve this?
Currently when I increase the width of one of the columns XamDataGrid attempts to keep the width of the record presenter constant by reducing the width of some other column which can be very annoying.
Thanks,
Joe
Hello,
In Feature browser also it will squeze other columns which is of no use ??
In the feature browser, with AutoFit = true and AutoFitMode = ExtendLastField and with the checkbox unticked, I still see the above mentioned behaviour. But it doesn't seem to be as bad as what I see in my own code. Not sure why.
In the Feature Browser:
If I resize columns only a little bit, it's not really noticeable.
If I resize CustomerID significantly, the last column gets shunted off the screen (if a horizontal scrollbar appears, it doesn't actually have space to scroll) and the other two columns become very narrow.
Resizing any of the other columns significantly also narrows all the other columns.
I guess I can understand this in the context of having AutoFit = true, which must be set in the sample to change the AutoFitMode, but ExtendLastField works without AutoFit set to true (which is what you want most of the time) and so I would expect the width of the grid to become larger on resizing the fields and a horizontal scrollbar to appear, but this does not happen.
In the sample, if Star sizing is on, resizing becomes almost a nightmare.
Sorry for not getting back to you on this thread. It seems that I've responded to the wrong thread.
In the XamFeatureBrowser, there is a sample with this feature - XamDataGrid - Layout and Behavior - Autofit Fields. In this example, you can set the AutoFit mode to ExtendLastField. When I do this, I can see that the fields can be resized correctly. If you using star sizing, then you can check the checkbox in the exmaple and see how this affects this behavior. Please let us know if you can reproduce the issue where you cannot resize the fields with the sample in the feature browser.
Infragistics people will not respond if the propblem is there, we have to chase them like anyting then only they will tell it is not working ;)
Me too. Is there any workaround or resolution available?