processing ajax call in zk

asked 2015-07-09 12:05:48 +0800

mayuranjan gravatar image mayuranjan
1 1

I am using multiple panel in my web app, i have put a refresh button for individual panel. On click of the refresh button i want that panel to show a ajax call animation (processing...) in place of refresh button in that specific panel only and want all the parts still to be working (as it is a very time taking operation).

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-09 14:38:23 +0800

Darksu gravatar image Darksu
1991 1 4

Hello mayuranjan,

Please try out the following code:

        <button id="btn1" label="Show Busy" onClick='Clients.showBusy(panel, "Busy")'/>
        <button id="btn2" label="Clear busy" onClick="Clients.clearBusy(panel)"/>
    <div id="div" height="75%" >
        <panel id="panel" height="100%" title="test">
                        <div id="divTwo">
                            <grid id="grid" 
                                fixedLayout="true" width="75%">
                                        <textbox />


Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2015-07-09 12:05:48 +0800

Seen: 28 times

Last updated: Jul 09 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More