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
685
How to Reset the Swaped Columns
posted

Hi All,

How to reset the swaped column,so that i can see the column in there previous position before they swaped.

basically i have button on grid top to reset the swaped columns .so that use will see the columns in  there previous position before they swaped.

Currently i am trying as below,which is working fine for me but i got some 50 columns in my grid ,so individually set the visibleposition is tuff.so is there any property which will reset the entire grid ..?

                          Columns["D"].Header.VisiblePosition = 3

thanks