File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -1387,3 +1387,25 @@ export interface IPinningConfig {
13871387 columns ?: ColumnPinningPosition ;
13881388 rows ?: RowPinningPosition ;
13891389}
1390+
1391+ /**
1392+ * An interface describing settings for clipboard options
1393+ */
1394+ export interface IClipboardOptions {
1395+ /**
1396+ * Enables/disables the copy behavior
1397+ */
1398+ enabled : boolean ;
1399+ /**
1400+ * Include the columns headers in the clipboard output.
1401+ */
1402+ copyHeaders : boolean ;
1403+ /**
1404+ * Apply the columns formatters (if any) on the data in the clipboard output.
1405+ */
1406+ copyFormatters : boolean ;
1407+ /**
1408+ * The separator used for formatting the copy output. Defaults to `\t`.
1409+ */
1410+ separator : string ;
1411+ }
Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ import {
140140 IGX_GRID_SERVICE_BASE ,
141141 ISizeInfo ,
142142 RowType ,
143- IPinningConfig
143+ IPinningConfig ,
144+ IClipboardOptions
144145} from './common/grid.interface' ;
145146import { DropPosition } from './moving/moving.service' ;
146147import { IgxHeadSelectorDirective , IgxRowSelectorDirective } from './selection/row-selectors' ;
@@ -323,7 +324,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
323324 * Controls the copy behavior of the grid.
324325 */
325326 @Input ( )
326- public clipboardOptions = {
327+ public clipboardOptions : IClipboardOptions = {
327328 /**
328329 * Enables/disables the copy behavior
329330 */
You can’t perform that action at this time.
0 commit comments