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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:30:55+00:00 2026-05-26T15:30:55+00:00

I added EditTextCell(stringTestEditTextCell) to Column(testColumn). EditTextCell editTextCell = new EditTextCell(); Column stringColumn = new

  • 0

I added EditTextCell(stringTestEditTextCell) to Column(testColumn).

EditTextCell editTextCell = new EditTextCell();
Column stringColumn = new Column(
editTextCell) {
@Override
public String getValue(Record object) {

            return object.getValue();
        }
    };

All cells in testColumn are editable.

I want 1st cell of column such way that 1st cell of column should be Non-Editable.

  • 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-26T15:30:55+00:00Added an answer on May 26, 2026 at 3:30 pm

    Following class is answer to my question. I Solved it and works fine. But getting error when user clicking on 1st cell of column.

    class CustomEditTextCell extends EditTextCell{
        @Override
        public void render(com.google.gwt.cell.client.Cell.Context context,
                String value, SafeHtmlBuilder sb) {
            // context.getColumn()==2 indicate Record ID column and context.getIndex()==0 indicate non editable cell in 1st empty row
            if(context.getColumn()==2 &&    ( context.getIndex()==0  || context.getIndex()%10 == 0)){
                sb.appendHtmlConstant("<div contentEditable='false' unselectable='true'></div>");
            }else{
            super.render(context, value, sb);
            }
    
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Added : I am conducting a study for a new system we're going to
I added some custom fields (public booleans) to the global class in global.asax.cs which
I added a get_absolute_url function to one of my models. def get_absolute_url(self): return '/foo/bar'
I added a new entity to my model and it loads fine but no
I added a field in SQL Server 2008 and it put the column name
I added a new App ID and distribution profile then went to iTunes Connect
I added the following lines to Application_Start method in global.asax: var provider = new
I added a new Target in my app and selected Bundle . I named
I added a method to our Service Base Class to get all unexported instances
Added: Working with SQL Server 2000 and 2005, so has to work on both.

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.