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 8483605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:09:05+00:00 2026-06-10T20:09:05+00:00

I have a CellTable with a column of TextInputCells. When i set the value

  • 0

I have a CellTable with a column of TextInputCells.

When i set the value through the UI, manually, the bean is modified.
But, then, when i set the value directly into the bean, i can’t make the Table to show the modification. It will always keep what i assigned manually.

Here’s my column :

FieldUpdater<MyBean, String> myFu = new FieldUpdater<MyBean, String>() {
  @Override
  public void update(int index, MyBean object, String value) {
    object.setValue(value);
  }
};

Column<MyBean, String> myCol = new Column<MyBean, String>(new TextInputCell()) {
  @Override
  public String getValue(MyBean object) {
    return object.getValue();
  }
};

Here’s the action :

@UiHandler("myButton")
public void myButton_onClick(ClickEvent event) {
  for (MyBean my : listOfBeans)
    my.setValue("value");
}

I tried to call table.redraw() or clearing and refilling the ListDataProvider, after the action, but it doesn’t change anything.

What can i do ?

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-06-10T20:09:06+00:00Added an answer on June 10, 2026 at 8:09 pm

    Ok, i found a (far fetched) way. It’s crappy but it works.

    int inputTextColumnPos; // position of your column
    
    ...
    
    @UiHandler("myButton")
    public void myButton_onClick(ClickEvent event) {
      for (MyBean my : listOfBeans) {
        my.setValue("value");
    
        // get the cell you want to update
        TextInputCell cell = (TextInputCell) table.getColumn(inputTextColumnPos).getCell();
        // re-create the view data for the cell because the current one isn't updated
        TextInputCell.ViewData viewData = new TextInputCell.ViewData("value");
        // CRUSH the other one 
        cell.setViewData(my, viewData);
      }
    
      // because we're never too sure
      table.redraw();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a celltable in GWT, I can change color of a specific column
I have a CellTable with one custom column where I render it manually and
I have celltable with 4 column (name size addedBy modifiedBy ) all the value
I have a Gwt celltable. Clicking on the headers sorts the columns properly. But
I have 3 column + 10 rows in celltable. value1Column, value2Column, RecordState 1 |
I have a sortable column in a CellTable. The problem is that I have
I have a celltable which contains numbers in each column. Is there a way
I'm using GWT 2.4. I have a com.google.gwt.user.cellview.client.CellTable widget, but I'm having trouble figuring
I have a GWT two column display. The left column contains a CellTable with
I have CellTable with password as one column. I want the password column to

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.