Commit f3c3cd2e authored by Nikitha Akavaram's avatar Nikitha Akavaram

MT-76_Alignment of text in the column, wrap text..

parent 385ab5c4
......@@ -45,7 +45,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
},
columnDefs : [
{field : 'employeeId',displayName: 'Employee ID eeee', enableColumnMenu: true, enableSorting: true, width:100,enableFiltering: false},
{field : 'employeeId',displayName: 'Employee ID', enableColumnMenu: true, enableSorting: true, width:120,enableFiltering: false},
{field : 'employeeName',displayName: 'Name', enableColumnMenu: false, enableSorting: false, enableCellEdit: true,enableFiltering: false},
{field : 'mobileNumber',displayName: 'Mobile No', enableColumnMenu: false, enableSorting: false, width:100,enableFiltering: false},
{field : 'billableStatus',displayName: 'Billability', enableColumnMenu: false,cellTemplate: getCellTemplateBillable, enableSorting: true,width:100,enableFiltering: false},
......@@ -354,7 +354,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
pageSize:10,
columnDefs : [
{field : 'employeeId',displayName: 'Employee ID', enableColumnMenu: true, enableSorting: true, width:120},
{field : 'employeeName',displayName: 'Name', enableColumnMenu: false, enableSorting: false},
{field : 'employeeName',displayName: 'Name', enableColumnMenu: false,enableSorting: false},
{field : 'emailId',displayName: 'Email', enableColumnMenu: false, enableSorting: false},
{field : 'mobileNumber',displayName: 'Mobile No', enableColumnMenu: false, enableSorting: false, width:100},
{field : 'billableStatus',displayName: 'Billability', enableColumnMenu: false, enableSorting: false},
......
......@@ -73,4 +73,19 @@
.customBilling {
background-color:green !important;
font-weight:bold;
}
\ No newline at end of file
}
[ui-grid-row] {
display: table-row;
}
.ui-grid-row, .ui-grid-cell {
height: auto!important;
}
.ui-grid-cell {
float: none;
display: table-cell;
}
.ui-grid-cell-contents {
/* white-space: normal; */
padding: 2px;
word-break: break-word;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment