Show Posts
|
Pages: 1 2 [3] 4 5 ... 29
|
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.
|
|
|
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
|
|
|
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: $('#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 ? <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: 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]);
|
|
|
|