Jump to content


Photo

Switching grid pages smoothly

UniDBGrid Pages Switch Smooth

  • Please log in to reply
3 replies to this topic

#1 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5177 posts

Posted 14 October 2015 - 10:18 AM

Hello!

 

A simple example, Switching grid pages "smoothly"...

 

UniDBGrid1 -> ClientEvents -> ExtEvents [ Ext.data.Store[store] ] :

function store.beforeload(store, operation, eOpts)
{
  this.grid.getView().el.setStyle("opacity", "0");
}
function store.load(sender, records, successful, eOpts)
{
  this.grid.getView().animate({to: {opacity: 1}, duration: 1000})
}

Try,

Best regards.


  • 1

#2 _Mehmet_

_Mehmet_

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 515 posts
  • LocationAntalya / Turkey

Posted 14 October 2015 - 10:21 AM

thanks delphi developer


  • 0

#3 Renato Marques

Renato Marques

    Member

  • Members
  • PipPip
  • 29 posts

Posted 15 January 2016 - 07:36 PM

Wow, pretty nice, thanks.


  • 0

#4 9223000

9223000

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 01 April 2018 - 12:33 PM

Please tell me.
 
How to do also but on UniTreeView?
What should I specify instead of "this.grid.getView()"?

  • 0





Also tagged with one or more of these keywords: UniDBGrid, Pages, Switch, Smooth

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users