B4J Question banano SKDataTable click event

tango

Active Member
Licensed User
Longtime User
SKDataTable click event not work. any help?

anybody help me about row and col click event?

SKDataTable.bas is attached

i changed but no clickable and what else i do to make clickable row or cell?

'#Event: KeyUp (event As BANanoEvent)
#Event: Click (event As BANanoEvent)
....
' defining events is very simple. Note that it has to be run AFTER adding it to the HTML DOM! eventName must be lowercase!
mElement.HandleEvents("click", mCallBack, mEventName & "_click")
 

alwaysbusy

Expert
Licensed User
Longtime User
Please, do not post extracted .bas files from the library here on the forum! They are useless for people to help, can't work on their own and only confuse other people.

The wrapped javascript for this component just has no events. It is for display only. What you wrote is just a click event on the <table> tag, which does nothing. I don't think you quite understand what BANanoElement is, so I suggest you (re)read the chapter in the booklet.

I see if I can expand the original javascript to support some events in B4J next week and will then release an update of the BANanoSkeleton library.
 
Upvote 0

tango

Active Member
Licensed User
Longtime User
thanks, skeleton must upgrade , it can be best , i think
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…