|
Title: Showing information if data is empty on datagrid [UNSOLVED] Post by: aswzen 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 (http://i.imgur.com/AGQS9k5.jpg) Thank you in advance :) Title: Re: Showing information if data is empty on datagrid Post by: arma on January 09, 2016, 06:38:18 AM Grid has already its masking feature :
Code: grid.datagrid('options').loadMsg = 'Please wait while loading..';When finish loading, hide it by calling Code: grid.datagrid('loaded');Title: Re: Showing information if data is empty on datagrid Post by: aswzen 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 |