EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 03:13:09 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
pagination, link buttons, iconCls
Pages: [
1
]
« previous
next »
Print
Author
Topic: pagination, link buttons, iconCls (Read 7828 times)
korenanzo
Guest
pagination, link buttons, iconCls
«
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
Re: pagination, link buttons, iconCls
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...