Hello, using SmartGWT Power 2.5 official release.
I have a simple use-case, that seems to baffle me at the moment.
I fetch some tweets from Twitter, and render them using a series of HTMLFLow, inside a VStack. Pretty straightforward. Inside a tweet can be a '@username' substring, or a '#hashtag' substring. I would like to add a clickhandler to these words. Is something like this possible? In plain Javascript I would just create a <span> around it, and use some jQuery selection on it, and add a clickhandler.
What approach would you suggest? Or am I going to need some JSNI?
I have a simple use-case, that seems to baffle me at the moment.
I fetch some tweets from Twitter, and render them using a series of HTMLFLow, inside a VStack. Pretty straightforward. Inside a tweet can be a '@username' substring, or a '#hashtag' substring. I would like to add a clickhandler to these words. Is something like this possible? In plain Javascript I would just create a <span> around it, and use some jQuery selection on it, and add a clickhandler.
What approach would you suggest? Or am I going to need some JSNI?
Comment