Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150181 | Dec 24,2019 09:03 AM UTC | Dec 24,2019 10:56 AM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Grid |
[app.component.html]
<ejs-grid [dataSource]='data' height='350' [allowFiltering]='true' [rowHeight]=25 [editSettings]='editSettings' [toolbar]='toolbar'>
<e-columns>
. . . .
</e-columns>
</ejs-grid>
-----------------------------------------------------------------------------------------
[app.component.css]
<style>
//Set font size for Grid content
.e-grid .e-rowcell {
font-size: 10px;
}
// Set font size and bold for headertext in Grid
.e-grid .e-headercelldiv {
font-size: 13px;
font-weight: bold;
}
//Setting padding for Grid toolbar
.e-grid .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn {
padding: 0 0.5px;
}
.e-grid .e-toolbar .e-toolbar-items .e-toolbar-item:not(.e-separator) {
padding: 0.5px;
}
//Setting padding for Grid filterbar
.e-grid .e-filterbarcell, .e-grid .e-filterbarcelldisabled {
padding: 0 5px;
}
</style>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.