ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid with custom loading animation
Title:
B
I
{code}
?
Hi great feature, but custom loading animation doesn't work, when .Groupable is set to false. Any ideas?
Save Changes
Cancel
TT Tom
asked at 27 Jan 2017
you can download the latest demo, edit the view GridNoRecordsFoundCustomLoadingDemo and set `.Groupable(false)` , the loading animation will still work
at 27 Jan 2017
Omu
Yes, latest demo works perfectly, not sure where is my problem. I'm using grid in popup form and there comes animation for very short time (the one in the center of grid). The other one (between refresh and pagination buttons) animates until data return
at 27 Jan 2017
TT Tom
you can try it in MasterDetailCrudDemo/Create view; add the Loading mod to the grid; check for js errors in the console; make sure you have the correct css
at 27 Jan 2017
Omu
Weird, tried almost everything, will not get better. Come back later, have to finish some more important things
at 27 Jan 2017
TT Tom
so i gave it another try and noticed that the grid goes collapsed (therefore no animation). Anytime i hit refresh button (bottom left) the grid collapses and comes up first when data is returned. So, the place with animation is hidden in this time
at 28 Jan 2017
TT Tom
try setting a .Height or MinHeight for the grid; shouldn't be a problem in the latest version though, which version are you using ?
at 28 Jan 2017
Omu
.Height & .MinHeight set to 300, no difference. I'm using 5.0.0.0. Could it be some dependency to jquery-2.1.4.min.js? I'm using jquery-3.1.1.min.js
at 28 Jan 2017
TT Tom
ok, just removed 3.1.1 reference and used 2.1.4 and voila - it works now, so it's probably an issue with 3.1.1
at 28 Jan 2017
TT Tom
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK