Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The query returned no rows.

tippani sri satya sai durga prasad
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2021

hi, Is there any way to display  empty table instead of below message("The query returned no rows)?

Capture2.PNG

i have a query. if no yellow and red records then it wii display a empty result instead of "the query returned no rows"

Capture3.PNG

my expected output if no records are there see below image

Capture9.PNG

is there any possible way? 

can any one help us?

1 answer

2 votes
Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2021

Hi @tippani sri satya sai durga prasad ,

We can suggest removing the "The query returned no rows." message using the CSS:

Wed 1-1.png

Wed 1-2.png

<style> 

.table-joiner .wrapper .aui-message.info.aui-message-info {

display: none;

}

</style>

Wed 1-3.png

Now your users won't see any confusing messages.

Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2021

Don't know why, but I didn't see your last screenshot while answering - to add an empty table, you'll need another Table Transformer macro and this empty table as well (the CSS still remains the same):

Wed 1-4.png

The query for the second Table Transformer: SELECT * FROM T1

And here is your page in the view mode:

Wed 1-5.png

Like # people like this
Ram Chandrasekaran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2023

Hi @Katerina Kovriga _Stiltsoft_ , where should the CSS go? I cannot find a place to add it within the Table Transformer. Any help is much appreciated.

Thank you

Ram

Ram Chandrasekaran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2023

BTW, just read through your other responses. Turns out, I cannot use HTML macro in our Confluence Server, so that's out of the question. Need a workaround if there is one. Thanks very much.

Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
August 15, 2023

Hi @Ram Chandrasekaran,

Please notice that if you update the app, you can use the Messages customization option right in Table Transformer to hide the message:

2023-08-15_18h47_31.png

Like Stiltsoft support likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events