Project

General

Profile

Dynamically update anchor or pushbutton via setLink().

Added by Erik Sanchez over 9 years ago

I have an application that shows several WTableView widgets backed with an SQLite database. I allow the user to create filters for the WTableViews and apply these filters using a QueryModel.

Now, I'd like to pass this custom query to a static resource so that the user can download the filtered data. I'm having trouble figuring out how to update an Anchor so that it points to my resource with filter parameters. If I attempt to update a WAnchor or a WPushButton that has already been rendered, nothing happens.

Likewise, I'd be open to creating a new resource for this query but I'd still have to update the Anchor after the user constructs their filters. There must be a simple what to do this but I just haven't figured it out.

Anyone have any advice for a WT novice?


Replies (1)

RE: Dynamically update anchor or pushbutton via setLink(). - Added by Wim Dumon over 9 years ago

Hey Erik,

What you do sounds correct... can you share a small example of what you try to do?

Wim.

    (1-1/1)