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>
|
|
|
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
|
|
|
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 });
|
|
|
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>
|
|
|
|