Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word Wrap Feature in Slick grid. #122

Open
mathankumarcv opened this issue Dec 17, 2010 · 8 comments
Open

Word Wrap Feature in Slick grid. #122

mathankumarcv opened this issue Dec 17, 2010 · 8 comments

Comments

@mathankumarcv
Copy link

I need the word warp feature in the slickgrid. how to implement it.

also posted the same request in the google groups.

@mleibman
Copy link
Owner

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.

@Gaurav-Rai
Copy link

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.

@danjger
Copy link

danjger commented Mar 4, 2015

I am also interested in variable row height. I'm not sure what it would take to accomplish.

@froodian
Copy link

froodian commented Mar 4, 2015

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.

@6pac
Copy link

6pac commented Mar 5, 2015

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

@rg-coder
Copy link

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?

@6pac
Copy link

6pac commented Mar 22, 2017

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.

@esmondb
Copy link

esmondb commented Mar 22, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants