EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 08, 2024, 03:50:46 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
Showing information if data is empty on datagrid [UNSOLVED]
Pages: [
1
]
« previous
next »
Print
Author
Topic: Showing information if data is empty on datagrid [UNSOLVED] (Read 9789 times)
aswzen
Sr. Member
Posts: 287
Indonesian
Showing information if data is empty on datagrid [UNSOLVED]
«
on:
January 05, 2016, 12:33:51 AM »
A suggestion...
Based on :
http://www.jeasyui.com/forum/index.php?topic=5458.0
i think it will be great if datagrid support masking too,
and maybe datagrid must-have a
builtin feature
to show information if the datagrid was empty like the image below
Thank you in advance
«
Last Edit: February 25, 2016, 12:06:37 AM by aswzen
»
Logged
Regards,
Sigit
- Indonesian jEasyUI Facebook page :
https://www.facebook.com/groups/jeasyuiid/
arma
Full Member
Posts: 110
Re: Showing information if data is empty on datagrid
«
Reply #1 on:
January 09, 2016, 06:38:18 AM »
Grid has already its masking feature :
Code:
grid.datagrid('options').loadMsg = 'Please wait while loading..';
grid.datagrid('loading');
When finish loading, hide it by calling
Code:
grid.datagrid('loaded');
Logged
aswzen
Sr. Member
Posts: 287
Indonesian
Re: Showing information if data is empty on datagrid
«
Reply #2 on:
January 10, 2016, 09:04:50 PM »
i think the loadMsg is purposed for pure loading message with lack of builtin options not for masking the datagrid..
its just different..
fiddle:
http://jsfiddle.net/rz2dn7oo/
1. Click Show Mask
2. Click Remove Mask
3. Click Reload Datagrid
when the third button pressed it will show "No Data" message instead of "Please wait while loading.."
so i need to reset it manually by the fourth button and that is not good
regards
sigit
Logged
Regards,
Sigit
- Indonesian jEasyUI Facebook page :
https://www.facebook.com/groups/jeasyuiid/
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...