Open mathankumarcv opened 13 years ago
You can force word wrap via CSS on ".slick-cell", but keep in mind that it won't make the row be sized dynamically depending on the content. Row heights are fixed.
Every row does not necessarily have a multi line content, so I was looking for a way to dynamically adjust the row height while using word wrap feature for the cell content.
I am also interested in variable row height. I'm not sure what it would take to accomplish.
I'm not that familiar with the code that does this, but I expect variable row height would probably take a lot of work - one of the core assumptions slickgrid makes is that it can know based on a row's index when it should build/attach the DOM elements for the rows being scrolled into view and discard the DOM for rows being scrolled out of view.
I'd agree that it would probably quite a bit of work. There are other tables around, and a lot of the conversation recently about pinning rows and columns makes me wonder if a completely different type of grid - more an Excel style - is what is needed. While SlickGrid could theoretically be made to do all these things, it is worth asking if it would compromise the underlying simplicity and speed too much. This either points to a 'simple' and 'with the lot' fork of SlickGrid, or simply finding another grid that is better suited to an Excel type interface
Is anyone looking into this issue?
I want to break-word when it goes out of given width to display in multiple lines but I am unable to find any solution for this in slick grid. Could someone please help?
The only real option is to use the css overflow
property to cut off the text and show the elipsis on overflow. You can't (AFAIK) cut on word boundaries without a lot of very processor intensive javascript customisation.
Variable row heights aren't happening any time soon.
That's what I do and it seems to work fine.
On 22 March 2017 at 12:45, Ben McIntyre notifications@github.com wrote:
The only real option is to use the css overflow property to cut off the text and show the elipsis on overflow. You can't (AFAIK) cut on word boundaries without a lot of very processor intensive javascript customisation.
Variable row heights aren't happening any time soon.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mleibman/SlickGrid/issues/122#issuecomment-288387215, or mute the thread https://github.com/notifications/unsubscribe-auth/AELrPDrlC96CvnWxgxLWNJs0sIfnx9U2ks5roRfNgaJpZM4DpWQ9 .
I need the word warp feature in the slickgrid. how to implement it.
also posted the same request in the google groups.