EasyUI Forum
May 11, 2024, 02:16:22 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3
1  General Category / EasyUI for jQuery / Grid as File Explorer on: July 15, 2023, 09:25:39 AM
Hi
is there way to change grid view to Icons View like file explorer
something like cardview but multi card by width of grid

thanks a lot
2  General Category / EasyUI for jQuery / sub menu not fire onShow on: April 04, 2023, 06:22:54 AM
Hi
i want to relocate sub menu because it get out of screen border
onShow not work on sub menu


<div id="mm" class="easyui-menu" data-options="onShow:menuHandler1" style="width:120px;">
    <div>New</div>
    <div>
        <span>Open</span>
        <div data-options="onShow:menuHandler2" style="width:150px;">
            <div><b>Word</b></div>
            <div>Excel</div>
            <div>PowerPoint</div>
        </div>
    </div>
    <div data-options="iconCls:'icon-save'">Save</div>
    <div class="menu-sep"></div>
    <div>Exit</div>
</div>

<script type="text/javascript">
   function menuHandler1(){
      alert('1');
   }
   function menuHandler2(){
      alert('2');
   }
</script>
3  General Category / EasyUI for jQuery / Re: How can i insert text in Textbox on: January 31, 2023, 03:00:43 AM
thanks a lot Smiley
4  General Category / EasyUI for jQuery / Re: How can i insert text in Textbox on: January 25, 2023, 01:18:37 AM
Thanks
but i dont want to use texteditor
if i use textbox not texteditor is there way to do that?

"Insert the text at the current cursor position in textbox"
5  General Category / EasyUI for jQuery / How can i insert text in Textbox on: January 24, 2023, 03:05:31 PM
hi
How can i insert text in Textbox
in specific position
6  General Category / EasyUI for jQuery / Menu show behind dialog on: October 20, 2022, 02:38:12 AM
Hi
when i show menu by

$('#picMenu').menu('show', GetLocation(ID));

it appear but behind dialog

i try to change model to false for dialog but nothing is happened

and i try to change  menu inline to true but nothing is happened

can you help me

=====================

Not only menu anything show it after dialog appear but behind dialog like a window
7  General Category / EasyUI for jQuery / Use datagrid-filter with datagrid-cellediting not work on: March 24, 2022, 03:19:58 PM
Hi
When i used datagrid-cellediting with datagrid-filter
if lost focus on filter and lost edit on cells
plz can you fix it
thanks a lot



<!DOCTYPE html>
<html>
<head>
   <meta charset="UTF-8">
   <title>jQuery EasyUI Demo</title>
   <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
   <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
   <script type="text/javascript" src="../../jquery.min.js"></script>
   <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
   <script type="text/javascript" src="datagrid-filter.js"></script>
   <script type="text/javascript" src="datagrid-cellediting.js"></script>
   <style>
      .icon-filter {
         background: url('filter.png') no-repeat center center;
      }
   </style>
   <script>
      var data = [
         { "productid": "FI-SW-01", "productname": "Koi", "unitcost": 10.00, "status": "P", "listprice": 36.50, "attr1": "Large", "itemid": "EST-1" },
         { "productid": "K9-DL-01", "productname": "Dalmation", "unitcost": 12.00, "status": "P", "listprice": 18.50, "attr1": "Spotted Adult Female", "itemid": "EST-10" },
         { "productid": "RP-SN-01", "productname": "Rattlesnake", "unitcost": 12.00, "status": "P", "listprice": 38.50, "attr1": "Venomless", "itemid": "EST-11" },
         { "productid": "RP-SN-01", "productname": "Rattlesnake", "unitcost": 12.00, "status": "P", "listprice": 26.50, "attr1": "Rattleless", "itemid": "EST-12" },
         { "productid": "RP-LI-02", "productname": "Iguana", "unitcost": 12.00, "status": "P", "listprice": 35.50, "attr1": "Green Adult", "itemid": "EST-13" },
         { "productid": "FL-DSH-01", "productname": "Manx", "unitcost": 12.00, "status": "N", "listprice": 158.50, "attr1": "Tailless", "itemid": "EST-14" },
         { "productid": "FL-DSH-01", "productname": "Manx", "unitcost": 12.00, "status": "P", "listprice": 83.50, "attr1": "With tail", "itemid": "EST-15" },
         { "productid": "FL-DLH-02", "productname": "Persian", "unitcost": 12.00, "status": "P", "listprice": 23.50, "attr1": "Adult Female", "itemid": "EST-16" },
         { "productid": "FL-DLH-02", "productname": "Persian", "unitcost": 12.00, "status": "N", "listprice": 89.50, "attr1": "Adult Male", "itemid": "EST-17" },
         { "productid": "AV-CB-01", "productname": "Amazon Parrot", "unitcost": 92.00, "status": "N", "listprice": 63.50, "attr1": "Adult Male", "itemid": "EST-18" }
      ];
      $(function () {
         
         var dg = $('#dg').datagrid({
            filterBtnIconCls: 'icon-filter', data: data
         });

         dg.datagrid('enableFilter', [
            {
               field: 'productid',
               type: 'datebox',
               op: ['equal', 'notequal', 'less', 'greater']
            }, {
               field: 'listprice',
               type: 'numberbox',
               options: { precision: 1 },
               op: ['equal', 'notequal', 'less', 'greater']
            }, {
               field: 'unitcost',
               type: 'numberbox',
               options: { precision: 1 },
               op: ['equal', 'notequal', 'less', 'greater']
            }, {
               field: 'status',
               type: 'combobox',
               options: {
                  panelHeight: 'auto',
                  height: '100%',
                  icons: [{ iconCls: 'combo-arrow icon-ok', handler: function (e) { var target = e.data.target; var panel = $.data(target, 'combo').panel; if (panel.is(':visible')) { $(target).combo('hidePanel'); } else { var p = $(target).closest('div.combo-panel'); $('div.combo-panel:visible').not(panel).not(p).panel('close'); $(target).combo('showPanel'); } } }],
                  hasDownArrow: false,
                  data: [{ value: '', text: 'All' }, { value: 'P', text: 'The P' }, { value: 'N', text: 'The N' }],
                  limitToList: true,
                  editable: false,
                  onChange: function (value) {
                     if (value == '') {
                        dg.datagrid('removeFilterRule', 'status');
                     } else {
                        dg.datagrid('addFilterRule', {
                           field: 'status',
                           op: 'equal',
                           value: value
                        });
                     }
                     dg.datagrid('doFilter');
                  }
               }
                }]).datagrid('enableCellEditing');
      });

   </script>
</head>
<body>
   <h1>DataGrid Filter Row</h1>
   
   <table id="dg" title="DataGrid" style="width:700px;height:250px">
      <thead>
         <tr>
            <th data-options="field:'itemid',width:80">Item ID</th>
            <th data-options="field:'productid',width:100">Product</th>
            <th data-options="field:'listprice',width:80,align:'right'">List Price</th>
            <th data-options="field:'unitcost',width:80,align:'right'">Unit Cost</th>
            <th data-options="field:'attr1',width:250">Attribute</th>
            <th data-options="field:'status',width:60,align:'center'">Status</th>
         </tr>
      </thead>
   </table>
</body>
</html>
8  General Category / EasyUI for jQuery / Set Height of datagrid to 100% on: March 15, 2022, 05:00:17 AM
How can Set Height of datagrid to 100%

this code not work

<body style="height:100%">
   <h2>Basic DataGrid</h2>
   <p>The DataGrid is created from markup, no JavaScript code needed.</p>
   <div style="margin:20px 0;"></div>
   
   <table class="easyui-datagrid" title="Basic DataGrid" style="width:700px;height:100%"
         data-options="singleSelect:true,collapsible:true,url:'datagrid_data1.json',method:'get'">
      <thead>
         <tr>
            <th data-options="field:'itemid',width:80">Item ID</th>
            <th data-options="field:'productid',width:100">Product</th>
            <th data-options="field:'listprice',width:80,align:'right'">List Price</th>
            <th data-options="field:'unitcost',width:80,align:'right'">Unit Cost</th>
            <th data-options="field:'attr1',width:250">Attribute</th>
            <th data-options="field:'status',width:60,align:'center'">Status</th>
         </tr>
      </thead>
   </table>

</body>
9  General Category / EasyUI for jQuery / Re: dialog in desktop have problem in Header and tools on: January 25, 2022, 06:35:39 PM
Thanks
it's work
10  General Category / EasyUI for jQuery / dialog in desktop have problem in Header and tools on: January 21, 2022, 05:32:04 PM
Hi
when i put tag of dialog in side tag body
tools of dialog not visible if i use ext desktop

but in all others case it is work good

plz can you fix it in this case



   <div class="easyui-dialog" title="Title" style="width:75%;max-height:75%;padding-bottom:10px" data-options="closable:false,minimizable:true,modal:false,iconCls:'pagination-loading'">
      any text
      <br>
      any text
      <br>
      any text
      <br>
      any text
      <br>
      any text
      <br>
      any text
      <br>
   </div>

11  General Category / EasyUI for jQuery / Re: stop tabindex Spinner buttons should not be focusable on: January 21, 2022, 04:11:20 AM
Thanks a lot
it's work Cheesy
12  General Category / EasyUI for jQuery / stop tabindex Spinner buttons should not be focusable on: January 19, 2022, 05:45:20 PM
How i can stop tabindex
set tabindex=-1 for all without use css or js
by use your properties in data-options
for tools like numberspinner
in state Horizontal or Vertical have problem(focusable)
in state Right or Left not problem(not focusable)
13  General Category / EasyUI for jQuery / Re: How can put drop event in datagrid from external drag like files on: April 02, 2019, 03:28:19 AM
Thanks a lot
it's work Grin
14  General Category / EasyUI for jQuery / [Solved] How can put drop event in datagrid from external drag like files on: April 01, 2019, 01:18:53 AM
How can put drop event in datagrid from external drag like files
for exp to upload files
event can send file list as param to upload its later
thanks a lot
15  General Category / EasyUI for jQuery / Re: [Solved]Check if there is a message from $.messager on: March 25, 2019, 02:54:00 AM
Thanks it is work
Pages: [1] 2 3
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!