EasyUI Forum
November 05, 2025, 03:13:06 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: pagination, link buttons, iconCls  (Read 7827 times)
korenanzo
Guest
« on: September 20, 2016, 06:53:22 AM »

Hi,

I am using pagination to manage a collection of buttons; actually I am using it as a toolbarbutton.

Each button has its own image, managed by iconCLs property

Now I need to change the icon at runtime: simply changing $('#mybutton').linkbutton('options').iconCls does not work.

How can I achieve my goal?

Thanks,
RIc
Logged
jarry
Administrator
Hero Member
*****
Posts: 2300


View Profile Email
« Reply #1 on: September 20, 2016, 07:21:22 AM »

Please try this code to change the linkbutton icon.
Code:
var newCls = ...
$('#mybutton').linkbutton({iconCls:newCls});
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!