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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:48:03+00:00 2026-05-23T04:48:03+00:00

My goal is to create a solid line between certain columns of a Grid.

  • 0

My problem

My goal is to create a solid line between certain columns of a Grid. To accomplish this, I’ve done the following to the appropriate column:

ColumnConfig colConfig = new ColumnConfig("myID", "My Col Title", 50);
colConfig.setStyle("border-right:solid medium black;");

As you can see from the attached picture, the rows seem to have spaces between them that is preventing my column border from being a solid line going down. Can anyone help with either eliminating these lines between rows, or some alternative to accomplish my goal?

I see there is a method provided on the Grid type itself to turn on/off column lines:

grid.setColumnLines(false);

But I don’t see anything for rows. I also don’t know whether even for columns that method is hiding the lines or actually removing them – I suspect the former.

Thanks in advance for any and all answers.

  • 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-23T04:48:04+00:00Added an answer on May 23, 2026 at 4:48 am

    Hi I did this by using a little string manipulation heres how;

    Create yourself a GridView (extending Grid View) and override the following

    protected String doRender(List<ColumnData> cs, List<ModelData> rows, int startRow, int colCount, boolean stripe) {
            String grab = super.doRender(cs, rows, startRow, colCount, stripe);
            grab = grab.replace("style=\"", "style=\"border:0px none; ");
             return grab;
    

    }

        protected String renderRows(int startRow, int endRow) {
            String grab = super.renderRows(startRow, endRow);
            grab = grab.replace("style=\"", "style=\"border:0px none; ");
            return grab;
        }
    

    this will strip out any borders in grid as its rendered

    hope it helps

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

Sidebar

Related Questions

This is proof of concept project - The goal is to create an application
Can't get this to work. Goal is to create a overflowing scrollable div that
My goal is to create a subversion repository with the following layout project Template
My ultimate goal is to create a pivot-table view in MySQL with dynamic columns
I apologize in advance if this was already answered. My goal is to create
Goal: Create Photomosaics programmatically using .NET and C#. Main reason I'd like to do
The goal: To create a .NET dll i can reference from inside SQL Server
Duplicate: PHP validation/regex for URL My goal is create a PHP regex for website
my goal is to create a sort of Javascript library, if you could call
The goal is to create a mock class which behaves like a db resultset.

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.