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

  • SEARCH
  • Home
  • 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 7538077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:01:19+00:00 2026-05-30T07:01:19+00:00

I am using one grid to select items, and another to display the selected

  • 0

I am using one grid to select items, and another to display the selected items. I am having trouble updating the new grid.

In pseudo code:

selectionGrid = new Grid();

selectionGrid.addlistener(new listener {
    update();
});

void update() {

targetGrid = new Grid(selectionGrid.getstore().getselecteditems(), columns);
}

I’m able to update the targetgrid the first time, but have trouble updating it again after a new selection.

Is there a different way I should be doing this?

Thanks.

  • 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-30T07:01:21+00:00Added an answer on May 30, 2026 at 7:01 am

    That’s pretty much it – make the two grids, one with the original items, the other with an empty ListStore. The update call should store.addAll(selected), though probably store.clear() first.

    These methods assume GXT 3 – in GXT 2, I think it is store.add(selected) and store.removeAll(). In 2 you may also find that the Events.SelectionChange isn’t fired by Grid, but by it’s SelectionModel – read the javadoc to be sure what events each class fires. In GXT 3, the events are made clear by the exposed HasSelectionHandlers interfaces, indicating that you can add a handler for selection events.

    If this still doesn’t work, consider posting an almost working example to demonstrate exactly what you’ve tried.

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

Sidebar

Related Questions

I have this sample MVC project using jQuery grid. There is only one problem
I am using the MvcContrib Grid to display a table on the page. I
I am using Ext.grid.EditorGridPanel to get some input from user. One of the columns
I am using a JQGrid in one of my ASP.NET projects where the grid
I have two grids, they both display buttons. One grid displays numbers, true or
I'm having trouble with performance with just 15 items in a SurfaceListBox. The ListBox
When using one's own iPhone for development it's easy enough to access any crash
When using one of the various JDBC template methods I am confused on how
I am using one master page.In that I am registering java scripts and checking
I am using one of snook.ca script for simple slideshow. Here it is in

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.