cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate grid in mashup on button click

mlohokare
5-Regular Member

How to activate grid in mashup on button click

Hi,

Want to achieve something as below,

  1. Open mashup
  2. Click on Button (Labeled as View Full Info)
  3. Grid will show the result

Sor far, I have created

  1. Thing template
  2. A service which is calling a SQL query
  3. Datashape

and able to see with grid. on "Mashup"


Now, I want to show results in grid only, but when button has been clicked on Mashup.


Please guide me on this.


Regards,

Mahesh

2 REPLIES 2

Bind Button Click event to the Service which queries SQL. And unbind Mashup Loaded event from the service.

tcoufal
12-Amethyst
(To:CarlesColl)

Plus you can create a simple switching function which returns a boolean and bind that result to visibility property of Grid widget.

Announcements