EasyUI Forum
May 01, 2024, 04:54:03 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] 4 5 ... 29
31  General Category / EasyUI for jQuery / Re: switch all requests to POST on: March 20, 2018, 07:06:28 AM
Sorry, what I meant was how can I easily switch all objects between POST and GET method.

Thanks

32  General Category / EasyUI for jQuery / switch all requests to POST on: March 19, 2018, 02:57:09 AM
Hi;

What is the easiest / best method to switch every control to use POST instead of GET ??

Thanks

33  General Category / EasyUI for jQuery / Re: Datagrid - OnCellOver disable scroll on: December 22, 2017, 04:25:33 AM
Hi Jarry;

I already tried that before posting this thread, it does not work.

I am using frozen columns.

Adding overflow:hidden prevents scrolling when you try and scroll on an unfozen column, but does not work when you scroll on the frozen columns.

It is the frozen columns that I need to prevent scrolling as that contains the column with my list.

34  General Category / EasyUI for jQuery / Re: Datagrid - OnCellOver disable scroll on: December 21, 2017, 04:33:37 PM
Thanks, but the unordered list is not really the problem, the problem is the datagrid vertical scrolling.

How can I prevent the datagrid from scrolling vertically ?

35  General Category / EasyUI for jQuery / Datagrid - OnCellOver disable scroll on: December 21, 2017, 02:01:44 AM
I have a datagrid that has one column with cells containing unordered lists where the row has a fixed row height and the list style overflow = scroll.

Due to the varied length of these lists, it is necessary to scroll down to see the full list, but the problem is when using the mouse to scroll the whole table scrolls instead of just the cell which has the mouse focus.

How can I prevent the table from scrolling when the mouse is over a specific table column Huh

36  General Category / EasyUI for jQuery / Re: Get Datagrid Toolbar Array Object on: November 09, 2017, 10:43:46 PM
Thanks Jarry;

But I was hoping I could do it without having to assign an ID.



37  General Category / EasyUI for jQuery / iterate through all levels of tree and sort folders by name on: November 09, 2017, 10:42:41 PM
Is it possible to iterate through all levels of a tree and sort folders (branches) by text field ??

I looked through the api for the tree but don't see anything ?

Thanks
38  General Category / EasyUI for jQuery / [solved] Re: linkbutton detect if shift key down when pressed on: November 09, 2017, 10:19:16 PM
OK, thanks, so as I thought, I can't get this from the linkbutton object.

39  General Category / EasyUI for jQuery / [solved] linkbutton detect if shift key down when pressed on: November 09, 2017, 05:06:44 AM
Hi;

How can I detect if the shiftkey (or any other key) was held down when the linkbutton was clicked ?

I thought that the click() event included the event but it does not ?!

40  General Category / EasyUI for jQuery / [solved] Get Datagrid Toolbar Array Object on: November 08, 2017, 03:27:24 AM
Hmm, searched the documentation and forum but can't seem to find the answer.

How do I  get the linkbutton object of a datagrid toolbar array Huh

Code:
$('#mydg').datagrid('options').toolbar[1].linkbutton('enable');
41  General Category / EasyUI for jQuery / Re: treegrid - cannot read property <fieldname> of null on: October 26, 2017, 04:09:02 PM
OK, I have solved this, there was no problem with the initial load of the folders, the problem was with the leafs which were loaded asyncly.

So I discovered that the leaf loading did not include the idField, hence the missing id.
42  General Category / EasyUI for jQuery / Re: treegrid - cannot read property <fieldname> of null on: October 26, 2017, 04:03:10 PM
They are set:

Code:
        $('#folds').treegrid({
          lines: false,
          fit: true,
          method: 'get',
          idField: 'treeid',
          treeField: 'text',
          fitComumns: true,
          init: false,
          url:'/?_sqlid=admin^dir_tree&_func=get&appid=grp&async=yes',
        
          columns:[[
            {field:'id',hidden:true},
            {field:'text',title:'Folder',width:150,fixed:true},
            {field:'treeid',hidden:true},
            {field:'revn',width:40,fixed:true,title:'Rev',formatter:dwap.page.fmt},
            {field:'desc',title:'Description',formatter:dwap.page.fmt,width:200,fixed:false}
          ]],
})

The leaf rows that are showing this problem are loaded async.
43  General Category / EasyUI for jQuery / Re: treegrid - cannot read property <fieldname> of null on: October 26, 2017, 06:14:05 AM
It seems that the row does not have an id, but why would that be ?

Code:
<tr id="datagrid-row-r7-2-undefined" node-id="undefined" class="datagrid-row"><td field="text"><div style="height:auto;" class="datagrid-cell datagrid-cell-c7-text"><span class="tree-indent"></span><span class="tree-indent"></span><span class="tree-indent"></span><span class="tree-indent"></span><span class="tree-icon tree-file icon-jpg"></span><span class="tree-title">TS_P1</span></div></td><td field="revn"><div style="height:auto;" class="datagrid-cell datagrid-cell-c7-revn">A1</div></td><td field="desc"><div style="height:auto;" class="datagrid-cell datagrid-cell-c7-desc">test tt</div></td></tr>
44  General Category / EasyUI for jQuery / treegrid - cannot read property <fieldname> of null [solved] on: October 26, 2017, 05:42:45 AM
version is 1.44.

I have a treegrid, that has just a few columns, the data loads fine, but when I click on a leaf row, I get the easyui error:

jquery.easyui.min.js:8881 Uncaught TypeError: Cannot read property 'text' of null
jquery.easyui.min.js:8881 Uncaught TypeError: Cannot read property 'revn' of null
jquery.easyui.min.js:8881 Uncaught TypeError: Cannot read property 'desc' of null

depending on whether I click the text, revn or desc cell, actually I am not interested in cell edit, all I want to do is select the row, but easyui is stopping me:

Code:
else {
            var row = opts.finder.getRow(_63e, _63f);
            var td = tt.closest("td[field]", tr);
            if (td.length) {
                var _642 = td.attr("field");
                opts.onClickCell.call(_63e, _63f, _642, row[_642]);
            }

It is failing on this line: opts.onClickCell.call(_63e, _63f, _642, row[_642]);




45  General Category / EasyUI for jQuery / Re: best fix for c:/fakefile on: October 20, 2017, 06:25:24 AM
Because of a lot of extensions and hacks, I am on 1.44 as 1.45 won't work.

What fix did you use to get rid of c:/fakepath ?
Pages: 1 2 [3] 4 5 ... 29
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!