Show Posts
|
Pages: [1] 2 3 ... 9
|
4
|
General Category / EasyUI for jQuery / The best way to increase the icon size of easyui icon
|
on: February 11, 2020, 11:37:02 AM
|
How do I increase the size the default icons which are 16×16 to something like 20×20? For example, if I increase the user icon png image to 20×20, the full image will not appear when I use it on iconCls="" such as below. How do I increase the button size to meet the size of the icon? Is there any CSS hack to achieve it? <a href="#" iconCls="icon-user" class="easyui-linkbutton"></a> Thanks, Alfred
|
|
|
7
|
General Category / General Discussion / Re: Export datagrid Extension to include footer summary and Table caption
|
on: November 21, 2019, 07:54:31 AM
|
Thanks for the reply. Now all the exported columns are center aligned. I have tested with the following codes: <th field="id" halign="center" width="20" sortable="true" align="left">Id</th> <th field="note" halign="center" width="20" sortable="true" align="left">Note</th> <th field="entrydate" halign="center" width="20" sortable="true" align="center">Note</th> I all the column names to be centered, so I used however in the printed html all columns are aligned center regardless of the being used. I hope you can fix the issue. Thanks and regard, Alfred
|
|
|
8
|
General Category / General Discussion / Re: Export datagrid Extension to include footer summary and Table caption
|
on: November 20, 2019, 11:16:39 AM
|
The caption and the footer work. but how do I style the caption? In addition the alignment does not work. Amount here is aligned right, but in the printed output it is aligned left. <table id="dg" class="easyui-datagrid" url="data.php" showFooter="true"> <thead> <tr> <th field="note" halign="center" width="20" sortable="true" align="left">Item</th> <th field="amount" halign="center" width="20" sortable="true" align="right">Amount</th> </thead> </table> function printList(){ $('#dg').datagrid('print', { title:"List of Data", caption: 'List of Data', footer: $('#dg').datagrid('getFooterRows') }); } Regards. Alfred
|
|
|
11
|
General Category / General Discussion / get dialog width and height when resize
|
on: November 11, 2019, 12:37:35 PM
|
Is it possible to get the dialog width and height as we resize. var d = $('#infp');//dialog selector d.dialog('onResize',function(w,h){ var newheight = h; var newwidth = w; }) This does not work. This code is inside the dialog, which content is loaded remotely. Thanks and regards, Alfred
|
|
|
|