Using HTML widgets in data grids?

TJ shared this question 5 years ago
Answered

Hi JIM Team,


First of all thanks for this great product, I am really blown away by all the great features and the ease of use!


I am quite new to JIM and maybe there is an easy solution for my problem:


I would like to use Googles Chart API to display a chart in my prototype. For that I am trying to create a HTML widget within a data grid but for some reason it doesn't let me add the HTML widget to the data grid. Am I doing anything wrong or can you suggest any work around?


Thanks for your help!

Comments (8)

photo
1

Hi,


Take a look at this blog post: http://blog.justinmind.com/how-to-inc...


And also you can download the charts library, which use Google Charts already:


http://www.justinmind.com/prototyper/...

photo
1

Hi Victor,


Thanks for your reply but it doesn't help much. I know how to include charts in the html widget but it seems it is not possible to have the html widget in a data grid, right?


The library is nice but since I am working on an iOS prototype it doesn't help much either..


Any other ideas/tips are more than appreciated;)


Thanks!

photo
1

You mean link a data grid with a chart? I'm afraid that's not possible. Are you saying Google Charts don't work in iOS?

photo
1

Hi,


hm.. I meant putting a chart/html widget into a data grid.. For example: I have a data grid with employees and want to have a chart / html widget for each individual... I don't necessarily want to link the data to the chart (even though it would be awesome)...


It seems the data grid only supports certain widget types but I was wondering if you know of any trick to make that happen?


This also might be an interesting feature for future developments...


Thanks!

photo
1

Sorry, now I get what you mean. You can do something like what is explained in this tutorial http://www.justinmind.com/usernote/te... (the event type must be 'on page load') but with charts instead of images.

photo
1

Thanks Victor, I know how to work with data grids in general.


My question was simply if you know of any way to have the HTML widget (that has a google chart html code in it for example) in a data grid / data row... I just can't add the HTML widget in the data grid, so it seems it is not possible at all, right? I just thought there is anything I am doing wrong...

photo
1

I'm afraid there is no way to include HTML as value of a data row.

photo
1

Thanks!