Hi Jarry.
Works perfect. Thanks
EasyUI
| Home | Help | Search | Login | Register |
|
41
on: April 29, 2025, 06:46:34 AM
|
||
| Started by jega - Last post by jega | ||
|
Hi Jarry.
Works perfect. Thanks |
||
|
42
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) { |
||
|
43
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 ?? |
||
|
44
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) => { |
||
|
45
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 = ''; } |
||
|
46
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 |
||
|
47
on: March 29, 2025, 04:53:42 PM
|
||
| Started by jega - Last post by jega | ||
|
Thanks.
Just what i needed. |
||
|
48
on: March 26, 2025, 07:05:22 AM
|
||
| Started by Vladzimir - Last post by Vladzimir | ||
|
Call this code before submitting a form to override any ajax parameters. Thanks for your help!Code: $.ajaxSetup({ |
||
|
49
on: March 25, 2025, 12:38:25 AM
|
||
| Started by jega - Last post by jarry | ||
|
The 'align' property is available now. Please look at this example.
https://www.jeasyui.com/demo/main/index.php?plugin=TimeLine&theme=material-teal&dir=ltr&pitem=Alternate&sort=asc |
||
|
50
on: March 23, 2025, 03:32:56 AM
|
||
| Started by jega - Last post by jega | ||
|
@jarry
Any solution ?? |
||