EasyUI Forum
April 28, 2024, 04:00:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Several questions about Tabs and Layout on: May 22, 2018, 09:23:27 PM
I tried to replicate Documentation page in this website but more complicated.
There are several pages, each of them has at least one datagrid and achieves CRUD in a single page, just like single page CRUD Application.

Question 1:
I found this post https://www.jeasyui.com/forum/index.php?topic=2299
If I change all of 'id' attributes to be unique, I have to modify a lot of codes, is there a more convenient solution?

Question 2:
I tried to not use Tabs, and replace Tabs with normal Layout, modify some code like this
Code:
function OpenNew(controller, func) {
     $('#center_content').panel('clear');
     var url = '../' + controller + '/' + func;
     $('#center_content').panel('refresh', url);
}
$('#center_content') is the center region of layout. I still got rendering problem, the hidden Create window and Edit window don't perform correctly.
I read the Elements (see attached pic), found that some elements are not in the center panel, maybe I need to override the default extractor? but why default extractor didn't work well?
2  General Category / EasyUI for jQuery / Re: ComboTree single selection and onlyLeafCheck on: May 11, 2018, 01:19:11 AM
 :DThat works perfect! Thank you stworthy!
3  General Category / EasyUI for jQuery / ComboTree single selection and onlyLeafCheck on: May 10, 2018, 08:14:25 PM
I want to use ComboTree to select single leaf node.
Code:
$('#testcombotree').combotree({
    multiple: flase,
    checkbox: true,
    cascadeCheck: false,
    onlyLeafCheck: true
})
But the checkbox doesn't appear, and I can select non-leaf node. Is there a way to select or check single leaf node?
4  General Category / EasyUI for jQuery / Re: DataGrid Filter Row Extension automatic filter problem on: April 30, 2018, 06:34:26 PM
Thanks!
5  General Category / EasyUI for jQuery / DataGrid Filter Row Extension automatic filter problem on: April 29, 2018, 09:47:17 PM
I'm using DataGrid Filter Row Extension in my datagrid,  I notice the filterDelay Property determines the delay time to do filter automatically when the filter type is 'text', It's powerful and convenient, but How can I disable the automatic filter function? I try to set filterDelay to 0 but it just does filter immediately.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!