Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3309774
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:40:52+00:00 2026-05-17T21:40:52+00:00

Is it possible to Remove an item from the ListView by not removing it’s

  • 0

Is it possible to Remove an item from the ListView by not removing it’s content[] ?

I tried changing the visibility of an item, but it does not give that removed effect it in. Instead it just gives you an empty space in between the data.

i.e.

    var customNodes : Foo[] = [Foo{bar:"help"}, 
                       Foo{bar:"me"}, Foo{bar:"please"}];   
    ListView { 
      ...
      contents : bind customNodes;
    }

Now, If i change customNodes[1].visible = false; the node does not display as expected.

But Foo[1] Still eats space between customNodes[0] and customNodes[2] resulting in gaps between the nodes.

This can be done by doing the following statement instead:

    delete customNodes[1];

Unfortunately, I am not allowed to actually delete data from the list. Thus, need to rely on visibility

So again, Is it possible to Remove an item from the ListView by not removing it’s content[] ?

if not, any suggestions on how can this be achieved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:40:52+00:00Added an answer on May 17, 2026 at 9:40 pm

    No. But if you want it to behave like that without actually removing the list. You can add a property to your CustomNode. Then check for that property when adding data to the list.

    i.e.

        var customNodes : Foo[] = [Foo{bar:"help" isDismissed : false}, 
                      Foo{bar:"me" isDismissed : true}, 
                      Foo{bar:"please" isDismissed : false}]; 
    

    Then in your ItemList do:

        ItemList{ 
           content : bind [
                    for (node in CustomNodes) 
                       if(node.isDismissed) [] else [node]
           ]
        }
    

    This way you are not actually deleting data from customNodes but just decides which should be rendered in the ItemList.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to remove the checkboxes from a .NET WinForms ListView control at
It is possible to add and remove elements from an enum in Java at
Is this a valid way to find and remove item from a LinkedList in
Basically, I would like to remove an item from a list whilst inside the
I accidentally pushed a commit to GitHub. Is it possible to remove this commit?
Is it possible for the compiler to remove statements used for debugging purposes (such
Is it even possible? Basically, there's a remote repository from which I pull using
I have a list of User objects, and I have to remove ONE item
Is it possible to install the x86 Remote Debugger as a Service on a
Is it possible in .NET to list files on a remote location like an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.