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
170
Copy Rows and columns
posted

I want to implement "Copy to Clipboard" functionality as below

1: copy current cell value

2: Copy selected row/s

3: copy selected column/s

4: copy current row (even though someother row/s is/are selected)

Last two items (3 and 4) in the above list are tricky as "Column Selection" is not allowed.

Parents
No Data
Reply
  • 53790
    posted

    Hello Bnmerch,

     

    Maybe one possible approach to achieve this behavior is to use method ultraGrid1.PerformAction(UltraGridAction. Copy); Also you could set properties:

    ultraGrid1.DisplayLayout.Override.AllowMultiCellOperations = AllowMultiCellOperation.All;

    ultraGrid1.DisplayLayout.Override.SelectTypeCell = SelectType.Extended;

    ultraGrid1.DisplayLayout.Override.SelectTypeRow = SelectType.Extended;

    Please take a look at the attached sample for more details. Please let me know if you have any questions.

    Regards

    UltraGridCopyRowsInClipboard_2.zip
Children
No Data