EasyUI Forum
October 16, 2025, 05:25:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 ... 3 4 [5] 6 7 ... 10
 41 
 on: March 20, 2025, 02:15:07 AM 
Started by Vladzimir - Last post by Vladzimir
Hi!
Howto overryde ajax method from POST to PUT in form submit methods?

 42 
 on: March 10, 2025, 05:02:53 PM 
Started by Coder - Last post by Coder
If there truly are no other solutions, this one may be included in the extension if desired.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" />
<link rel="stylesheet" href="/static/eui-ggl.css" />

Code:
...
, iconCls: 'ggl-o ggl-example ggl-2x '
...

 43 
 on: March 10, 2025, 12:44:45 PM 
Started by Coder - Last post by Coder
Hi!

How can I use the Google Fonts Material Symbols icon (<span class="material-symbols-outlined">verified</span>) in the iconCls property?

Thnx

 44 
 on: March 07, 2025, 09:12:58 AM 
Started by drutech - Last post by drutech
Hi

Thank for the info.

I didn't know about the CORS policy and how Chrome handles it. It looks like Opera, Chrome, and Safari appear to not follow that idea but rather treat all file: URLs as cross-origin, even if they are in the same directory or sub-directly.





 45 
 on: March 07, 2025, 06:04:35 AM 
Started by korenanzo - Last post by jega
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
});

 46 
 on: March 07, 2025, 01:25:58 AM 
Started by korenanzo - Last post by jarry
The header of panel can be customized. Please try this code.
Code:
const header = `<div class="f-row"><div class="panel-title f-full">Title</div><div>Right</div></div>`;
$('#p').panel('header').html(header)

 47 
 on: March 07, 2025, 01:05:34 AM 
Started by drutech - Last post by jarry
Due to the CORS policy, the browser doesn't allow to load contents from different sites. So please set the 'href' page on the same page of your panel.

 48 
 on: March 05, 2025, 11:53:50 AM 
Started by drutech - Last post by drutech
This might just be me, but just confirming.

When setting up the data-options href for a panel, it doesn't load up the page.

I'm creating a page to run off my laptop, no local server and just using JavaScript.

Does this data-options only works when the page is on a severe? If not I'm not sure what is going on.

For testing, I'm using the code for panel href in Documentation on the EasyUI site. Running webpage from my laptop, it just shows loading and nothing else.

I'm guessing that this will work if the page was on a server?

 49 
 on: March 04, 2025, 10:04:36 AM 
Started by korenanzo - Last post by jega
Hi Jarry

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


 50 
 on: February 19, 2025, 05:12:36 AM 
Started by jega - Last post by jega
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>

Pages: 1 ... 3 4 [5] 6 7 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!