EasyUI Forum
November 05, 2025, 01:25:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / 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'
                            }
                        }
                    }





Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!