If you pull Open_Amt from a database, the format in in your sql so json is already formatted

Great Idea - Thanks !
Home | Help | Search | Login | Register |
81
on: December 15, 2024, 01:37:00 PM
|
||
Started by stephenl - Last post by stephenl | ||
If you pull Open_Amt from a database, the format in in your sql so json is already formatted ![]() Great Idea - Thanks ! |
82
on: December 15, 2024, 01:19:17 PM
|
||
Started by stephenl - Last post by jega | ||
Hi.
Use formatter like {field:'Open_Amt',title:'Amt',width:5, align:'right',formatter:formatOpenAmt}, function formatOpenAmt(row){ var formattedString = [Find the code you need. There is a lot of possibilities] return formattedString; } Look at demo/datagrid/format datagrid columns OR If you pull Open_Amt from a database, the format in in your sql so json is already formatted |
83
on: December 15, 2024, 12:02:13 PM
|
||
Started by stephenl - Last post by stephenl | ||
Hello
I have a datagrid defined as below Code: columns:[[ Currently, Open_Amt format shows as 12345.5 I would like to format value this to show 12,345.50 ie always show 2 places after the decimal point and also show thousands separator Suggestions appreciated Thank you |
84
on: December 10, 2024, 07:01:12 PM
|
||
Started by Oliver - Last post by jarry | ||
This example works fine.
Code: <!DOCTYPE html> If your issue continues, please show an example to demonstrate your issue. |
85
on: December 09, 2024, 10:38:23 AM
|
||
Started by Oliver - Last post by Oliver | ||
Hello, I encounter a strange problem: I've defined several tooltips in my page, located in different containers.
The tooltips have an addtitional class "tt" and are initialized as following: $(".tt").tooltip({ trackMouse: true, content: 'test',zIndex: 99999 }); When using Firefox or Internet Explorer, the tooltips work as expected. But in Chrome and Edge, the tooltips are not displayed. When inspecting, .tooltip("tip").css("left") and .tooltip("tip").css("top") each show '-100000px' As mentioned, using the same code, in Firefox or Internet Explorer, the coordinates are correct and the tooltips are shown properly What can be the reason ? TX and kind regards |
86
on: November 12, 2024, 07:40:18 PM
|
||
Started by Wojak - Last post by jarry | ||
Please look at this example https://www.jeasyui.com/demo/test/test21.html. It works fine.
|
87
on: November 11, 2024, 11:55:44 AM
|
||
Started by Wojak - Last post by Wojak | ||
After refreshing the data is there, but 'emptyMsg' sometimes does not disappear. After it stays on the screen, I checked what 'emptyMsg' is in the settings and from text such as '123' it changes to ''. And after it stays on the screen and changes to '', it doesn't disappear after trying to refresh all the time
|
88
on: November 10, 2024, 07:14:21 PM
|
||
Started by Wojak - Last post by jarry | ||
The 'emptyMsg' will display after loading empty rows. Please make sure if the data is empty after calling the 'reload' method.
|
89
on: November 09, 2024, 05:07:05 PM
|
||
Started by Wojak - Last post by Wojak | ||
I found a bug using a method from 2015 to reset sorting.
If my emptyMsg is set to anything but "" then it returns it to "". Code: $.extend($.fn.datagrid.methods, { After using this method also the emptyMsg doesn't disappear for datagrid view. |
90
General Category / EasyUI for jQuery / Re: [SOLVED] Datagrid editing row methonds to save and cancel with enter and escape
on: October 25, 2024, 02:35:04 AM
|
||
Started by Wojak - Last post by Wojak | ||
Is there a simple method to save and cancel while being on the page/tab and not in a specific editor?
Also a question, can i add a way in the “onBeginEdit” function that when you click a cell, so that the cursor is already in that editor that is assigned to that cell? |