jQuery EasyUI Forum
January 19, 2017, 03:42:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 10
 on: January 18, 2017, 07:32:00 AM 
Started by acreonte82 - Last post by stworthy
Please show an example to demonstrate your issue.

 on: January 18, 2017, 02:39:07 AM 
Started by acreonte82 - Last post by acreonte82
Sorry stworthy but if i put your suggestion and I try to type the first 3 letters and then I press Enter Key, nothing happened..

 on: January 17, 2017, 08:17:51 AM 
Started by saurabh - Last post by stworthy
The 'getData' method does returns the loaded data.
var allData=$('#tg').treegrid('getData');

 on: January 17, 2017, 03:10:35 AM 
Started by saurabh - Last post by saurabh
Hello, I want to get currently loaded json data from tree grid(Don't want to call again same servlet to get data.). I tried to do like this as shown below but it doesn't work for me.
json data that i am loading is dynamic....!!

var allData=$('#tg').treegrid('getData');
alert("All data length: "+allData.length);
var jsonData=JSON.parse(allData);
alert("jsonData "+jsonData);

tree grid html
 <table id="tg" title="NCM-SCAR Creation Application" style="height:600px;width:100%;"
                    iconCls: 'icon-ok',
                    rownumbers: true,
                    animate: true,
                    collapsible: false,
                    fitColumns: true,
                    url: 'getNCMdataServlet',
                    method: 'get',
                    idField: 'id',
                    treeField: 'name',
                    pagination: true,
                       collpaseTillItemLevel(row,<%=expandRows %>);
                    checkbox:function (row)
                       return true;
                    pageSize: 10,
                    pageList: [10,20,50]

 on: January 16, 2017, 10:55:28 PM 
Started by elmorekevin - Last post by elmorekevin
After doing some more cleanup, I found that I did not need to use setTimeout to have the enableFilter appear. I was mistakenly calling all of the datagrid data twice, once via html with class="easyui-datagrid" and also via javascript with $('#dg-site').edatagrid({}). Now that the tabs load speedily when clicked, the Filter always shows.

It used to take over 20 seconds to load, now it loads in less than 1!

 on: January 16, 2017, 08:34:57 PM 
Started by elmorekevin - Last post by elmorekevin
I found that I needed setTimeout for the enableFilter method in order to have that load using href:

}, 1000);

Thanks to this post!

 on: January 16, 2017, 08:04:55 PM 
Started by elmorekevin - Last post by elmorekevin
I have found that if I comment out one of the other datagrids from one of the other tabs, then the first tab loads properly. Is there a limit on the number of datagrids that can be loaded simultaneously, or maybe it's a related to the loading time? If it's loading time I am hoping I can use the solution below, but I can't get the filter to work.

I'm trying to use the href option to make it so the whole page loads faster, but the 'enableFilter' option is not taking effect when this happens. Please see http://www.jeasyui.com/forum/index.php?topic=6024.0 


Here's an example of the href:
In the main file editor.php
<!--Tab 7--><div title="Other IP Devices" style="padding:5px;height:100%" href="_tab7.html"></div>


<!--DataGrid editor for IPD-->
<table id="dg-ipd" title="Other IP Devices: Double click the row to begin editing." toolbar="#toolbar-ipd" idField="id" class="easyui-datagrid" fit="true" fitColumns="true" pagination="true" rownumbers="false" singleSelect="true" remoteFilter="true" remoteSort="true" pageSize="50" url='get_ipd.php' loadMsg="Loading data" updateUrl='update_ipd.php' toolbar='#toolbar-ipd' fitColumns='true' >
<thead >
<th field="id" width="20">Inv ID</th>
<th field="location" width="20">Location</th>
<th field="make" width="20">Make</th>
<th field="model" width="20">Model</th>
<th field="mac" width="20">MAC</th>
<th field="name" width="20" editor="text">Device Name</th>
<th field="ip" width="20" editor="text">IP</th>
<th field="ip_link" width="20" formatter="ip_link">IP</th>
<th data-options="field:'uplink_device',width:20, formatter: function(value,row){return row.uplink_device}"
valueField: 'uplink_device_name',
textField: 'uplink_device_name',
url: 'search_uplink_device_name.php',
onSelect: function(rec)
var url = 'search_uplink_device_name.php?q=' + rec.uplink_device_name;
$.getJSON( url, function( data )
   var result = eval('(' + data + ')');
>Uplink Device</th>
<div id="toolbar-ipd">
<a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" onclick="javascript:$('#dg-ipd').edatagrid('saveRow')">Save Changes</a>
<a href="#" class="easyui-linkbutton" iconCls="icon-undo" plain="true" onclick="javascript:$('#dg-ipd').edatagrid('cancelRow')">Cancel</a>

 on: January 16, 2017, 05:41:53 PM 
Started by acreonte82 - Last post by stworthy
You can turn on the autocomplete on the inputing box by calling this code:
$('#t1').tagbox('textbox').attr('autocomplete', 'on');

 on: January 16, 2017, 05:32:46 PM 
Started by wymak - Last post by stworthy
No, an <input> element does not allow to display html code with multiple styles.

 on: January 16, 2017, 02:02:35 PM 
Started by acreonte82 - Last post by acreonte82
Hello to all,
i want to report a particular bug, if it is, in tagbox:
i read the Demo and try to use it : type a part of a word and I try to press the enter key to have the entire word searched.
I mean: if I type "oran" and the tagbox display the entire word, if I press the "enter key" I want to see the entire work on tagbox, but nothing happened .

Can you explain if is possibile to do this?

Thanks in advance

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