File tree Expand file tree Collapse file tree 14 files changed +32
-21
lines changed
column-moving-options/src
column-pinning-options/src
multi-column-headers-template/src
column-moving-options/src
column-pinning-options/src
column-moving-options/src
column-pinning-options/src
column-pinning-styles/src Expand file tree Collapse file tree 14 files changed +32
-21
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,9 @@ export class Sample {
111111 const column = ( ctx as any ) . column ;
112112 return html `< div style ="display:flex; ">
113113 < span > ${ column . field } </ span >
114- < span style ="margin-left: auto; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
114+ < span style ="margin-left: auto; cursor: pointer; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
115115 </ div > ` ;
116- } ;
116+ } ;
117117
118118 public webGridCurrencyCellTemplate = ( ctx : IgcCellTemplateContext ) => {
119119 if ( ctx . cell . value > 0 ) {
Original file line number Diff line number Diff line change @@ -111,9 +111,9 @@ export class Sample {
111111 const column = ( ctx as any ) . column ;
112112 return html `< div style ="display:flex; ">
113113 < span > ${ column . field } </ span >
114- < span style ="margin-left: auto; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
114+ < span style ="margin-left: auto; cursor: pointer; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
115115 </ div > ` ;
116- } ;
116+ } ;
117117
118118 public webGridCurrencyCellTemplate = ( ctx : IgcCellTemplateContext ) => {
119119 if ( ctx . cell . value > 0 ) {
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ export class Sample {
6565 const column = ( ctx as any ) . column ;
6666 return html `< div style ="display:flex; ">
6767 < span > ${ column . field } </ span >
68- < span style ="margin-left: auto; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
68+ < span style ="margin-left: auto; cursor: pointer; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
6969 </ div > ` ;
70- } ;
70+ } ;
7171
7272 public toggleColumnPin ( field : string ) {
7373 var grid : IgcGridComponent = this . grid ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export class Sample {
5353 public webGridColumnGroupHeaderTemplate = ( ctx : IgcColumnTemplateContext ) => {
5454 const column = ( ctx as any ) . column ;
5555 return html `< div style ="display:flex;align-items:center;gap:5px; ">
56- < span draggable ="false " @click =${ ( e : any ) => this . toggleColumnGroup ( column ) } >
56+ < span draggable ="false " style =" cursor:pointer; " @click =${ ( e : any ) => this . toggleColumnGroup ( column ) } >
5757 ${ this . columnGroupStates . get ( column ) ? "🔽" : "🔼" }
5858 </ span >
5959 < span > ${ column . header } </ span >
Original file line number Diff line number Diff line change 2828 < igc-property-editor-property-description
2929 name ="selectionType "
3030 id ="selectionType "
31- property-path ="RowSelection ">
31+ property-path ="RowSelection "
32+ value-type ="EnumValue "
33+ label ="Row Selection "
34+ drop-down-names ="None, Single, Multiple "
35+ drop-down-values ="None, Single, Multiple ">
3236 </ igc-property-editor-property-description >
3337 < igc-property-editor-property-description
3438 name ="hideRowSelectors "
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class Sample {
6666 const column = ( ctx as any ) . column ;
6767 return html `< div style ="display:flex; ">
6868 < span > ${ column . field } </ span >
69- < span style ="margin-left: auto; " @click =${ ( e : any ) => this . toggleColumnPin ( column ) } > 📌</ span >
69+ < span style ="margin-left: auto; cursor: pointer; " @click =${ ( e : any ) => this . toggleColumnPin ( column ) } > 📌</ span >
7070 </ div > ` ;
7171 } ;
7272
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class Sample {
6666 const column = ( ctx as any ) . column ;
6767 return html `< div style ="display:flex; ">
6868 < span > ${ column . field } </ span >
69- < span style ="margin-left: auto; " @click =${ ( e : any ) => this . toggleColumnPin ( column ) } > 📌</ span >
69+ < span style ="margin-left: auto; cursor: pointer; " @click =${ ( e : any ) => this . toggleColumnPin ( column ) } > 📌</ span >
7070 </ div > ` ;
7171 } ;
7272
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class Sample {
9797 const column = ( ctx as any ) . column ;
9898 return html `< div style ="display:flex; ">
9999 < span > ${ column . field } </ span >
100- < span style ="margin-left: auto; " @click =${ ( e : any ) => this . toggleColumnPin ( column ) } > 📌</ span >
100+ < span style ="margin-left: auto; cursor: pointer; " @click =${ ( e : any ) => this . toggleColumnPin ( column ) } > 📌</ span >
101101 </ div > ` ;
102102 } ;
103103
Original file line number Diff line number Diff line change 2828 < igc-property-editor-property-description
2929 name ="selectionType "
3030 id ="selectionType "
31- property-path ="RowSelection ">
31+ property-path ="RowSelection "
32+ value-type ="EnumValue "
33+ label ="Row Selection "
34+ drop-down-names ="None, Single, Multiple "
35+ drop-down-values ="None, Single, Multiple ">
3236 </ igc-property-editor-property-description >
3337 < igc-property-editor-property-description
3438 name ="hideRowSelectors "
Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ export class Sample {
8181 const column = ( ctx as any ) . column ;
8282 return html `< div style ="display:flex; ">
8383 < span > ${ column . field } </ span >
84- < span style ="margin-left: auto; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
84+ < span style ="margin-left: auto; cursor: pointer; " @pointerdown =${ ( e : any ) => this . toggleColumnPin ( column . field ) } > 📌</ span >
8585 </ div > ` ;
86- } ;
86+ } ;
8787
8888 public toggleColumnPin ( field : string ) {
8989 var grid = this . treeGrid ;
You can’t perform that action at this time.
0 commit comments