Forums: [SOLVED] "No data yet." - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[SOLVED] "No data yet." Rate Topic: -----

#1 User is offline   Pete K 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 260
  • Joined: 05-February 16
  • Gender:Male

Posted 08 May 2019 - 05:02 PM

I need a way to replace the "No data yet." message that appears on a list page when no records are returned. I know how to do this globally, but I want to do it on a per-table/per-page basis. That message isn't very helpful in most contexts. Any ideas on how to accomplish this?


----------------------------------------------------------
Pete K.
Lead Web Developer
Fayette County Public Schools | Lexington, Kentucky, USA
0

#2 User is offline   jadach 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 451
  • Joined: 26-April 08
  • Gender:Male
  • Location:New York

Posted 08 May 2019 - 08:43 PM

You can use this on javascript onload to hide the div
$("div[data-grid-message]").hide();

-jerry
0

#3 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16358
  • Joined: 03-February 03
  • Gender:Male

Posted 08 May 2019 - 11:03 PM

Or you can use the following in BeforeDisplay event:

xt.assign("message", "My message");

Best regards,
Sergey Kornilov
0

#4 User is offline   jadach 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 451
  • Joined: 26-April 08
  • Gender:Male
  • Location:New York

Posted 08 May 2019 - 11:18 PM

View Postadmin, on 08 May 2019 - 07:03 PM, said:

Or you can use the following in BeforeDisplay event:

xt.assign("message", "My message");


Ah, yes, much better :)
-jerry
0

#5 User is offline   Pete K 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 260
  • Joined: 05-February 16
  • Gender:Male

Posted 09 May 2019 - 11:52 AM

View Postadmin, on 08 May 2019 - 07:03 PM, said:

Or you can use the following in BeforeDisplay event:

xt.assign("message", "My message");


Perfect. Thank you Sergey.





----------------------------------------------------------
Pete K.
Lead Web Developer
Fayette County Public Schools | Lexington, Kentucky, USA
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users