EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 20, 2024, 05:05:16 PM
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
>
Size of checkbox in editable datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Size of checkbox in editable datagrid (Read 4697 times)
cormac
Newbie
Posts: 1
Size of checkbox in editable datagrid
«
on:
February 12, 2014, 02:01:24 PM »
I have an editable datagrid which works pretty well. However, I want to change the size of the checkbox that is the 'editor' for one of my fields and can't see how I can do this.. I would appreciate any help that the forum can give...
my code looks like this ....
I am createing the columns in javascript and here is the checkbox field in question.... as you can see I tried setting the width and height in the column definition to 40 each but this had no effect.
{field:'Done', title:'Did it',width:50,align:'center',
editor:{
type:'checkbox',
height : 40,
width:40,
options:{
on: 'Y',
off: 'N'
}
}
}
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Size of checkbox in editable datagrid
«
Reply #1 on:
February 12, 2014, 07:43:19 PM »
Please try to add css style definition to the page.
Code:
<style>
.datagrid-editable input[type="checkbox"]{
width:40px;
height:40px;
}
</style>
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...