Hi,
We are using 2010.03 - XamDataGrid. The default FieldChooser does not allow us to move grid columns around.
Is there any built-in option available in XamDataGrid to allow moving fields via FieldChooser or we need to have our own custom control instead of FieldChooser for it to happen?
Please let me know what is the best approach on this and any samples wound be appreciated.
Thanks in advance.
Muthu
Hello Bipindra,
I am not able to reproduce your behavior on my side. I tested the sample against one of the latest service releases of 12.2 (2151). Could you please check what is the exact version yo uuse and if it is older I can suggest you download the latest one by logging to our web site and going to Account \Keys & Downloads.
Hi Stefan.
the sample works great.
Still there is an issue, if i am not releasing 'Left shift' key while dropping column within column chooser it is not allowing to drop.
Thanks,
Bipindra Singh
I have modified the sample Muthu attached, so now you are able to move Fields in the chooser and drag drop them from and to the XamDataGrid. Basically I made the move in the FieldChooser to be available if you hold left Shift, because otherwise you cannot differentiate the two operations. I add that check in the FieldChooserPreviewMouseMove event handler.
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi Stefan,
I am using infragitic 12.2 version.
My issue is that, Once I enable this custom drop (within field chooser), I can no longer drag a field from FieldChooser and drop to grid (the built-in functionality). But I can contine to drag a field from grid to chooser. Is there anyway I can get around this so I can do drag/drop inside the FieldChooser or from FieldChooser to grid?
Could please tell me which version do you use and give me more details about the issue you have, becasue I am not completely sure what is the behavior you have from the previos post?