Skip to Content

how to clear table data from table view

Hello All,

I have a table view.I need to clear data from that table in some event.can anyone please help me how to clear table data.

Thanks & Regards,

Chhanda Srakar

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 08, 2012 at 07:19 AM

    Hi Chhanda,

    You just need to call the clear collection method on the context node which is holding the table view data, like below.

    me->typed_context-><your context node->clear_collection( ).



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.