Skip to Content
avatar image
Former Member

How to Hide Row in table view depend on condition

Dear Friends,

Please any one suggest how to do hide some rows in table depend on condtions.

My Issue is :

I have table with binding componant context controller, with in that some rows are no need to disply in my table, I tried to delete that entities from collection wrapper in do_prepare_output. but that entites are perminatly deleted from model node.

how can achive this with out delete entities from model node and hide some rows in table view.

thanks & Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 16, 2010 at 09:37 AM

    Hi Ganesh ,

    One approach would be to create a new Z table view wiith similar fields as in your original view.Create a Value nodes and display the values as per your conditions.When user tries to set some values on UI update your original view attributes.

    Through configuration you can display your temporary view on UI instead of original table view.

    Implementing this approach is little complex to do but definitely solves your issue.

    Regards,

    Padma.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Parma,

      Thank you, but that is lengthy & complex process, is there any alternative method instead of that.

      thanks & Regards

      Ganesh

  • Sep 16, 2010 at 09:53 AM

    You could try using an iterator (IF_HTMLB_TABLEVIEW_ITERATOR) on whichever table tag is in the view. You could then implement the RENDER_ROW_START start method to skip the row if your criteria weren't met.

    Andrew

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ganesh,

      I was just about to give you the same reply.Today I identified that we need to remove instead of delete.Your problem is already resolved 😊

      Regards,

      Padma.