Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
rajender_qlik
Creator
Creator

How to delete the selected row in a straight table using a button

Hi everyone,

I have a straight table which is used for comments. Where the user can input the comments using input and that will be stored in a straight table based on time stamp, username and comment. So if i need to delete the selected row in straight table using button how Can I achieve it ?

I just need to select time stamp in the straight table and if i click delete only that row in the table should be deleted.

Thanks for any suggestions / help.

16 Replies
rajender_qlik
Creator
Creator
Author

Yes Robin. I just want to delete completely from the straight table. I have tried using macro of "ReduceData" but it didn't work.

Anonymous
Not applicable

I'm don't know if this is possible to be honest, would guess no...

A straight table is just a kind of view on the data model stored in the qvw...

rajender_qlik
Creator
Creator
Author

No problem Robin.

But thanks for the quick reply.

Anil_Babu_Samineni

Seems works to me as your need. May be explain little more because this is bit interesting and i would love to know new things related kind of new stuff

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
rajender_qlik
Creator
Creator
Author

I have developed Comments as new sheet where user can input comments for dashboard. So I have used macro to get the comments working where user can click on msg box and input comment he needs and it will be copied to the straight table using timestamp, username and comment as I have shared you earlier.

So now I need to delete the any selected comment from the straight table chart if I have entered any mistake in the comments. So I am looking to delete the entire row from straight table based on my selection using Delete button.

Anil_Babu_Samineni

I never worked such functionality and Rek. May be some one else offer you.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
rajender_qlik
Creator
Creator
Author

No Problem and thanks for your reply to this post.