EasyUI Forum
October 15, 2025, 07:11:56 PM *
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 ... 15
1  General Category / EasyUI for jQuery / Re: Mobile menu Iphone on: August 12, 2025, 08:16:38 AM
Hi Jarry.

It's excatly the same i do.

Problem is, when you go to the site on an  iphone, and click on menu button, the three dots, it open and close the menu again.

It doesn't work on iphone/ipad. Have tried it on both Safari and Chrome, same error

Try your demo/mobile demos/menu/basic. Same problem. Can't show menu on iphone/ipad
2  General Category / EasyUI for jQuery / Mobile menu Iphone on: August 06, 2025, 02:56:03 AM
Hi.

Need help with big problem. This code doesn't work on iphones safari or chrome or edge. On Samsung phones it works fine.

Have testet on easyui demo and this is same problem.

Any solution to get it to work on iphone

<header>
   <div class="m-toolbar">
      <div class="m-title">TEST</div>
      <div class="m-right">
         <a href="javascript:void(0)" class="easyui-menubutton" data-options="iconCls:'icon-more',menu:'#mm1',menuAlign:'right',hasDownArrow:false"></a>
      </div>
   </div>
</header>

<div id="mm1" class="easyui-menu" style="width:200px;">
   <div data-options="iconCls:'icon-photo_portrait_16'" onclick="test()">Test</div>
</div>
3  General Category / EasyUI for jQuery / Re: Datagrid Change singleselect and keep title on: June 11, 2025, 11:03:38 PM
Hi jarry.

Ohh i see. Just use the options

Thanks
4  General Category / EasyUI for jQuery / Re: Datagrid Change singleselect and keep title on: June 09, 2025, 02:41:21 PM
Any help ??
5  General Category / EasyUI for jQuery / [SOLVED]Datagrid Change singleselect and keep title on: May 02, 2025, 02:28:01 PM
Hi

Have set title on datagrid with

var dgPanel = $('#dgList').datagrid('getPanel');
dgPanel.panel('setTitle',data.titleName);

When changing singleselect state with

$('#dgList').datagrid({
   singleSelect:true            
});

it destroys the title.

How to keep it without do a setTitle on panel again


6  General Category / EasyUI for jQuery / Re: Datagrid Cell Tooltip individual text on: April 29, 2025, 06:46:34 AM
Hi Jarry.

Works perfect. Thanks
7  General Category / EasyUI for jQuery / [SOLVED] Datagrid Cell Tooltip individual text on: April 25, 2025, 02:21:49 PM
Hi.

Filling a datagrid with this json (not formatted here): number_7 and _8 is the column field name

number_7:"11111111"
number_7:"22222222"
tooltipText_7:"Tooltip for column _7"
tooltipText_8:"Tooltip for cell on column _8"


Using formatTooltip

   function formatTooltip(value,row,index){
      var fieldName = this.field
      var fieldNumber = fieldName.split('_')
      return '<div title="'+row['tooltipText_'+fieldNumber[1]]+'">'+value+'</div>'
   }

Then it shows tooltipText_7 and _8 on the 2 cells on mouse over, as expected

But how can i use the easyui-tooltip instead of the div title attr

Any help ??
8  General Category / EasyUI for jQuery / Filter component on: April 07, 2025, 02:43:35 AM
Hi.

Has updated to newest filter 1.07

When filtering i get this error

datagrid-filter.js:324
 Uncaught TypeError: Cannot read properties of undefined (reading 'prompt')
    at _doFilter (datagrid-filter.js?v1.074:324:29)
    at datagrid-filter.js:316:8


Uncomment these lines and it works

if (filterOpts.options.prompt && filterOpts.options.prompt==value){
   value = '';
}
9  General Category / EasyUI for jQuery / Re: Timeline text alignment on: March 31, 2025, 12:30:40 AM
Hi Jarry

Have now tested it.

Well, i can see your demo sample makes an timeline with first node to the right and 2. nd node on the left side and so on. This sample i can't run on my server, it makes all nodes on the right side.

If i look at your sample, i can't see how you tell it which node should be on left and right side. What i want is, that i can choose where it should be.

As in my sample. A property contentPosition before or after

    var data = [           
      {content:'Goal',contentPosition:'before',time:'10:30',playerName:'Player #1',info:''},
      {content:'Penalty',contentPosition:'after',time:'12:00',playerName:'Player #2',info:'Yellow Card'},
      {content:'Goal',contentPosition:'before',time:'14:30',playerName:'Player #3',info:''},
      {content:'Goal',contentPosition:'after',time:'16:30',playerName:'Player #4',info:''}
   ]

And when i choose before, the node text should be right aligned and when after, it must be left aligned, og
10  General Category / EasyUI for jQuery / Re: Timeline on: March 29, 2025, 04:53:42 PM
Thanks.

Just what i needed.

11  General Category / EasyUI for jQuery / Re: Timeline on: March 23, 2025, 03:32:56 AM
@jarry

Any solution ??
12  General Category / EasyUI for jQuery / Re: panel: title alignment on: March 07, 2025, 06:04:35 AM
Hi jarry.

So far so good

Text "right" is on next line, it should be on same line

const header = '<div class="f-row"><div class="panel-title f-full">Title</div><div>Right</div></div>';

$('#vagtPanel_'+index1).panel({
   header: header
});
13  General Category / EasyUI for jQuery / Re: panel: title alignment on: March 04, 2025, 10:04:36 AM
Hi Jarry

And if we want to have a text left align and another text right in same panel title ??

14  General Category / EasyUI for jQuery / Timeline text alignment on: February 19, 2025, 05:12:36 AM
Hi.

Have tested timeline and thought about it in sports

To add:

contentPosition : [before/after] - if before, content is right aligned and when after, it's left aligned

Take a look at the imagefile attached


<body>
    <div class="easyui-panel" style="padding:10px">
        <div class="easyui-timeline" data-options="data:data,formatter:myFormatter"></div>
    </div>

<script type="text/javascript">
      
   $(document).ready(function(){

   })

    var data = [            
      {content:'Goal',contentPosition:'before',time:'10:30',playerName:'Player #1',info:''},
      {content:'Penalty',contentPosition:'after',time:'12:00',playerName:'Player #2',info:'Yellow Card'},
      {content:'Goal',contentPosition:'before',time:'14:30',playerName:'Player #3',info:''},
      {content:'Goal',contentPosition:'after',time:'16:30',playerName:'Player #4',info:''}
   ]

    function myFormatter(row){
       var textContent = '<div>'+row.time+' - '+row.content+'</div>'
       textContent += '<div style="font-size:12px;opacity:0.5">'+row.playerName+'</div>'
       textContent += '<div style="font-size:12px;opacity:0.5">'+row.info+'</div>'
        return textContent;
    }

</script>

</body>
15  General Category / EasyUI for jQuery / Re: Checking tree leaf nodes selectively through javascript on: January 29, 2025, 12:50:29 PM
Hi.

Is it possible to see an example of what you have so far. I use both tree and treegrid in several projects and have no troubles at all.

"When i set checked" are you doing it after the load ? I never do that, but set it checked already in my json data. This way the onCheck is not called.

"When a leaf is checked"
Sounds like it is this sample, that works just fine.
https://www.jeasyui.com/demo/main/index.php?plugin=Tree&theme=material-teal&dir=ltr&pitem=&sort=asc

But show an example

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