@@ -81,7 +81,7 @@ const Employees = (props?: EmployeesProps) => {
8181 const toolbar : string [ ] =
8282 props ?. employeeData ?. Name === props ?. userInfo ?. Name
8383 ? [ 'ExcelExport' , 'ColumnChooser' , 'Search' ]
84- : [ 'ColumnChooser ' , 'Search ' ] ;
84+ : [ 'Search ' , 'ColumnChooser ' ] ;
8585
8686 const searchSettings : { fields : string [ ] } = {
8787 fields : [ 'EmployeeCode' , 'Name' , 'Mail' , 'Designation' , 'Branch' , 'Team' , 'TeamLead' , 'ManagerName' ] ,
@@ -142,12 +142,12 @@ const Employees = (props?: EmployeesProps) => {
142142 ( tooltipObj . current as any ) . content = args . target . innerText ;
143143 }
144144 else {
145- const rowInfo : RowInfo = employeeGridIns . current ?. getRowInfo ( args . target . closest ( 'td' ) as HTMLElement ) as RowInfo ;
145+ const rowInfo : RowInfo = gridRef . current ?. getRowInfo ( args . target . closest ( 'td' ) as HTMLElement ) as RowInfo ;
146146 const rowData = rowInfo ?. rowData as EmployeeDetails ;
147147 ( tooltipObj . current as any ) . content = `
148148 <div id="democontent" className="democontent">
149149 <div style="display: inline-block; padding: 4px 4px 0 4px">
150- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" className="bi bi-person-circle" viewBox="0 0 16 15" color="rgba(0, 0, 0, .54) ">
150+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" className="bi bi-person-circle" viewBox="0 0 16 15" color="#ffffff ">
151151 <path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0" />
152152 <path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1" />
153153 </svg>
0 commit comments