Is it possible to adjust the row height in the grid to display the entire content?
1 Answer
You will have to override the bootstrap css
.ngCell { display : table-cell; height: auto !important; overflow:visible; position: static; } .ngRow { display : table-row; height: auto !important; position: static; } .ngCellText{ height: auto !important; white-space: normal; overflow:visible; } 7 Comments
Shak Ham
Can you create a plunkr or fiddler for this? I'm not able to make it work.
Shak Ham
You are using the old grid, I'm talking about the new grid that is still in beta. Do you have any ideas on that? Thanks for your help Aditya!
Aditya Sethi
Can you provide me the link of directive that you are trying to use?
Aditya Sethi
.ui-grid-cell { display : table-cell; height: auto !important; overflow:visible; position: static; } .ui-grid-row { display : table-row; height: auto !important; position: static; } .ui-grid-cell-contents{ height: auto !important; white-space: normal; overflow:visible; }
Aditya Sethi
Not sure if it will work or not. I will try to explore this new grid. Thanks for introducing, this looks much better :)
|