Unverified Commit 551f2d60 authored by rsayannagari-nisum-com's avatar rsayannagari-nisum-com Committed by GitHub

Merge pull request #12 from nisum-inc/feature/MT-76_Alignment_of_text

MT-76_Alignment of text in the column, wrap text..
parents 858b9229 f3c3cd2e
......@@ -46,7 +46,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},
......@@ -384,7 +384,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},
......
......@@ -74,3 +74,18 @@
background-color:green !important;
font-weight:bold;
}
[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