In my application im loading my data table with default values which placed in first page(After Logged in).while loading data,data table prompts ‘No Record Found’ which is confusing to the user.how do i hide that while loading in progress ?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I know it’s a bit obvious, but as you display default values anyway, you could set
emptyMessage=""in your<p:dataTable>.However, if you need an
emptyMessageto be displayed later (e.g. when user-specific data is to be loaded), you could “disable” it upon first load using something like this:where
firstLoadwould be a method in your backing bean which returnstruewhen the user has just logged in (e.g. default values are to be loaded), andfalsewhen not, which would mean that user-specific data should be loaded and the<p:dataTable>could actually be empty.