File tree Expand file tree Collapse file tree
samples/grids/grid/groupby-custom/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,15 +91,17 @@ export default function Sample() {
9191 return (
9292 < div className = "container sample ig-typography" >
9393 < div style = { { alignSelf : "flex-end" } } className = "fill" >
94- < IgrButton key = "btn" > < span key = "content" onClick = { x => { dropDownRef . current . toggle ( ) } } > Group By Options</ span > </ IgrButton >
95- < span onClick = { e => setMode ( e ) } >
9694 < IgrDropdown ref = { dropDownRef } >
97- < IgrDropdownItem key = "day" > < span key = "contentDay" > Day</ span > </ IgrDropdownItem >
98- < IgrDropdownItem key = "week" > < span key = "contentWeek" > Week</ span > </ IgrDropdownItem >
99- < IgrDropdownItem key = "month" selected = "true" > < span key = "contentMonth" > Month</ span > </ IgrDropdownItem >
100- < IgrDropdownItem key = "year" > < span key = "contentYear" > Year</ span > </ IgrDropdownItem >
95+ < div slot = "target" >
96+ < IgrButton key = "btn" > < span key = "content" > Group By Options</ span > </ IgrButton >
97+ </ div >
98+ < span onClick = { e => setMode ( e ) } >
99+ < IgrDropdownItem key = "day" > < span key = "contentDay" > Day</ span > </ IgrDropdownItem >
100+ < IgrDropdownItem key = "week" > < span key = "contentWeek" > Week</ span > </ IgrDropdownItem >
101+ < IgrDropdownItem key = "month" selected = "true" > < span key = "contentMonth" > Month</ span > </ IgrDropdownItem >
102+ < IgrDropdownItem key = "year" > < span key = "contentYear" > Year</ span > </ IgrDropdownItem >
103+ </ span >
101104 </ IgrDropdown >
102- </ span >
103105 </ div >
104106 < div className = "container fill" >
105107 < IgrGrid
You can’t perform that action at this time.
0 commit comments