Handsontable, set number of visible rows in a cell -


i having issues finding setting in handsontable set number of visible rows in cell. problem have rows 15 20 lines in cell , making table huge. able set max number of visible rows in cell , give user ability scroll in cell view rest of content.

thanks help!

answering comment below of meant multiple lines in cell:

this 1 line:

example of 1 line 

this multiline:

multiline1 multiline2 multiline3 

in handsontable.full.css file added 'white-space: nowrap;' , hid lines in cell. added 'text-overflow: ellipsis;' add ellipsis end of cells going multiline cleaner look.

the following block in handsontable.full.css file changed:

.handsontable th, .handsontable td {   border-right: 1px solid #ccc;   border-bottom: 1px solid #ccc;   height: 22px;   empty-cells: show;   line-height: 21px;   padding: 0 4px 0 4px;   /* top, bottom padding different 0 handled poorly ff html5 doctype */   background-color: #fff;   vertical-align: top;   overflow: hidden;   outline-width: 0;   text-overflow: ellipsis;   white-space: nowrap;   /* preserve new line character in cell */ } 

Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -