I have to develop some custom Columns for the XamGrid and therefore read the doc and this article http://es.infragistics.com/community/blogs/devin_rader/archive/2010/07/08/creating-custom-columns-for-xamgrid.aspx
i've developed some Columns and added them to the Grid. It worked just fine. But when I add a new Item to the ItemSource from codebehind, the Controls in my custom column moves on to the next row.
I attached a project with a little sample. Maybe i shouldnt return only one control as Editor and Display element? If thats the case could you explain a Little further how to develop editable columns. They should be editable the whole time.
regards and thanks
Hello Vishal,
Thank you for your post. I have been looking into and I created a sample project for you with the functionality you want. Basically I handled the XamGrid’s Loaded event and in the handler I fix one of the columns. I also handled the XamGrid’s ColumnFixedStateChanging event and canceled it if the new state is unfixing. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Hi,I had a requirement with XamGrid with fixing first column on left and rest other columns are configurable and Disable the possibility to drag and drop for this column and Prevent other columns to be draged and droped on the left of this column.
Thanks
Hi Stefan,
I need to create a XamGrid with configurable columns. But the first column on the left should always be displayed on the left and never be moved from there.
- I need to disable the possibility to drag and drop this column.
- I need to prevent some other columns to be draged and droped on the left of this column.
do you have suggestions?
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
thx. worked fine.