I have a treegrid and i want the child rows to be smaller. Can i change the row height to smaller for just the child rows?
-btork
EasyUI
| Home | Help | Search | Login | Register |
|
51
on: May 22, 2025, 10:51:26 AM
|
||
| Started by btork - Last post by btork | ||
|
I have a treegrid and i want the child rows to be smaller. Can i change the row height to smaller for just the child rows?
-btork |
||
|
52
on: May 21, 2025, 09:05:19 PM
|
||
| Started by btork - Last post by btork | ||
|
Hello,
I want to hide the expand icon for a treegrid for the entire table. I want the user to be able to expand by clicking on the entire row. Is this possible? -btork |
||
|
53
on: May 02, 2025, 02:28:01 PM
|
||
| Started by jega - Last post by jega | ||
|
Hi
Have set title on datagrid with var dgPanel = $('#dgList').datagrid('getPanel'); dgPanel.panel('setTitle',data.titleName); When changing singleselect state with $('#dgList').datagrid({ singleSelect:true }); it destroys the title. How to keep it without do a setTitle on panel again |
||
|
54
on: April 29, 2025, 06:46:34 AM
|
||
| Started by jega - Last post by jega | ||
|
Hi Jarry.
Works perfect. Thanks |
||
|
55
on: April 29, 2025, 12:22:40 AM
|
||
| Started by jega - Last post by jarry | ||
|
Please call this code to convert the tooltip.
Code: function formatTooltip(value, row, index) { |
||
|
56
on: April 25, 2025, 02:21:49 PM
|
||
| Started by jega - Last post by jega | ||
|
Hi.
Filling a datagrid with this json (not formatted here): number_7 and _8 is the column field name number_7:"11111111" number_7:"22222222" tooltipText_7:"Tooltip for column _7" tooltipText_8:"Tooltip for cell on column _8" Using formatTooltip function formatTooltip(value,row,index){ var fieldName = this.field var fieldNumber = fieldName.split('_') return '<div title="'+row['tooltipText_'+fieldNumber[1]]+'">'+value+'</div>' } Then it shows tooltipText_7 and _8 on the 2 cells on mouse over, as expected But how can i use the easyui-tooltip instead of the div title attr Any help ?? |
||
|
57
on: April 09, 2025, 08:50:08 PM
|
||
| Started by jega - Last post by jarry | ||
|
There are some solutions to display the alternate items.
1. Use the 'labelFormatter' and 'formatter' functions. Code: <!DOCTYPE html> 2. Set the 'align' property value to 'alternateReverse'. Code: const formatContent = (row) => {3. Custom the 'itemPosition' function to set the item position to 'left' or 'right'. Code: const formatContent = (row) => { |
||
|
58
on: April 07, 2025, 02:43:35 AM
|
||
| Started by jega - Last post by jega | ||
|
Hi.
Has updated to newest filter 1.07 When filtering i get this error datagrid-filter.js:324 Uncaught TypeError: Cannot read properties of undefined (reading 'prompt') at _doFilter (datagrid-filter.js?v1.074:324:29) at datagrid-filter.js:316:8 Uncomment these lines and it works if (filterOpts.options.prompt && filterOpts.options.prompt==value){ value = ''; } |
||
|
59
on: March 31, 2025, 12:30:40 AM
|
||
| Started by jega - Last post by jega | ||
|
Hi Jarry
Have now tested it. Well, i can see your demo sample makes an timeline with first node to the right and 2. nd node on the left side and so on. This sample i can't run on my server, it makes all nodes on the right side. If i look at your sample, i can't see how you tell it which node should be on left and right side. What i want is, that i can choose where it should be. As in my sample. A property contentPosition before or after 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:''} ] And when i choose before, the node text should be right aligned and when after, it must be left aligned, og |
||
|
60
on: March 29, 2025, 04:53:42 PM
|
||
| Started by jega - Last post by jega | ||
|
Thanks.
Just what i needed. |
||