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

HTML code in cell #8

Closed
sstyle opened this issue Jul 17, 2015 · 5 comments
Closed

HTML code in cell #8

sstyle opened this issue Jul 17, 2015 · 5 comments

Comments

@sstyle
Copy link

sstyle commented Jul 17, 2015

Hi! I need to show HTML (link or ) instead a simple text. Is it possible?

@lauris
Copy link
Member

lauris commented Jul 17, 2015

Hi!

Currently all table contents gets escaped, but custom formatters could be developed to allow HTML nicely.

@sstyle
Copy link
Author

sstyle commented Jul 17, 2015

Can you please give a more detail info how to do that?

@lauris lauris closed this as completed in 8962d72 Jul 17, 2015
@lauris
Copy link
Member

lauris commented Jul 17, 2015

I just added a setting to allow HTML in cells. For each column you want to allow HTML in you must set allowHTML: true in column definition.

Check full example under "HTML in Grid Demo" tab: https://datazenit.com/static/sensei-grid/examples/

More docs will be added later, but for a start you can check the bottom of example.js file.

@sstyle
Copy link
Author

sstyle commented Jul 17, 2015

Thank you very much!

@sstyle
Copy link
Author

sstyle commented Jul 20, 2015

Now it shows me a HTML code, but browser do not follow we-blink by double click on it

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

2 participants