Showing Grid without column headers and Grid lines

Hi all
does anyone knows how can set a grid object to display without grid lines and without column headers?
appreciate the help

Hi Yechiel,
When you work with the grid you just have to drag it into your srf and bind it with some table by specifying the table name in its properties.
When the form launches the columns of the grid  will be created automatically as per the number of columns in the table.The caption of the column in the grid will be the same as that of the name of the column in the table.The only condition for this is that the table should contain some records, if the table is empty no grid lines and the column header will be displayed .
I hope this meet your requirements.
Below I am sending you the code segments with the help of which you can control the grid progamatically...
//Declaring the grid object
Grid oGrid;
//Initializing the grid object
//Adding a new data table to the form
//Assigning the data table to the grid
oGrid.DataTable = oSboApplication.Forms.ActiveForm.DataSources.DataTables.Item( "MBS_DataTable" );
// This statement will clear the grid
// In this way you can set the column properties
// In this way you can set the column width
oGrid.Columns.Item( 0 ).Width = 50;
oGrid.Columns.Item( 1 ).Width = 60;
oGrid.Columns.Item( 2 ).Width = 130;
//This is the way you can set a user defined caption on the column header.
query="select U_CTX_MOVCODE as 'Movie Code',U_CTX_MOVNAME as 'Movie Name',U_CTX_SHELF as 'Shelf Number',U_CTX_SPACE as 'Space Number',U_CTX_CARDCODE as 'Customer Code',U_CTX_RENTED as 'Rent Status' from [@CTX_VSTORE] order by Code";

Similar Messages

  • Column headers and data are mismatched in Data tab of views after move col.

    Currently, I am using Windows XP, SQL Developer Version 1.2.1 Build Main 32.13.
    Java platform 1.5.0_06
    Oracle IDE
    I'm having trouble with display of data from views in the "Data" tab of SQL Developer. If I move a column left or right of its original place, the data no longer line up with the proper column heading. The data are in the correct order, but the column headers are out of whack. Also, in the Single Record View, the data and column headers are mismatched.
    Refreshing the view, closing the view, closing and reopening SQL Developer do not "reset" the view so that the data and proper column headers are lined up. Even dropping and recreating the view does not force SQL Developer to use the proper data-column header match.
    Just to be clear, the data within the view is fine. It is the display of the data-column headers in the "Data" tab of SQL Developer (and the single record view) that is wrong. The mismatch seems to occur after a column is moved in the view.
    Is this a bug? I like the ability to move columns around within the display of the view. However, much more important that the column headers and data line up correctly.

    Thanks much. I found the correct file, deleted it, and the column headers and data match up again.
    I found the correct file by searching the directory for one of the column names that occurs in the view (though I had to find both instances of "COLUMN_NAME" and "COLUMN NAME" (without the underscore)). Not sure why there were files with both versions.
    Do you know if there is any way to prevent those XXXXXXXXXTableSettings.xml files from writing all together (oracle.javatools.controls.nicetable.NiceTablePersistentSettings)? I looked through the SQL Developer preferences but nothing jumped out as being the setting to switch off.
    Should I be doing anything in particular to bring more attention to this potential bug so it might get fixed in a future release?
    Thanks again,

  • Select without column headers

    How can you do a select statement and get the result without column headers? Also how can you designate how many lines of data will show between column headers on a select statement?

    Try this:
    set HEADING = OFF (no ; needed)
    This stops the printing of column headings on reports. It will not affect the column width displayed just displaying the column heading. Adjust the column width by the column format command.
    This is a SQL*Plus environment command.It is in the Oracle 8i DBQ Certification Exam Guide on page 105.

  • Resize column width for JTable without column headers?

    I find that for me to resize columns of a JTable by using
    mouse dragging, I MUST have column headers and then drag
    column headers to resize them. Is my understanding correct?
    Actually, I need to have a table without header columns.
    How can I use mouse to resize column width by dragging?
    The background for this request is that I am putting a
    complex table as another table's column header and I hope to
    be able to resizing the complex table by mouse dragging.
    Thanks very much,

    I think you have mistake there. Try
    <style type="text/css">
    table.apexir_WORKSHEET_DATA td {
    white-space:nowrap !important;
    td[headers="DESCR"] {
    width:300px !important;
    max-width:300px !important;
    #apexir_DESCR {
    max-width:300px !important;
    </style>And you can try add
    table.apexir_WORKSHEET_DATA {
    width: 100% !important;
    table-layout: fixed !important;
    My Blog:

  • How do I get the layout guides (A,B,C column headers and 1,2,3 Row Headers) to print with my spreadsheet?

    How do I get the Layout Guides (A,B,C column headers and 1,2,3 Row Headers) to print on my spreadsheet? They are invaluable for discussing the data with my clients over the phone.
    They appear while I am editing, but don't print with the spreadsheet. I know how to do it in Excel, but I am transitioning to Numbers. I can't imagine I have to type them into their own columns and rows. It must be a difference in vernacular that I can't find the solution in the User Guide. Can anyone help?

    Hi ktjobauer,
    Numbers is not Excel and Excel is not Numbers. Numbers is WYSIWYG (at least in File > Print and the actual printout).
    I can't imagine I have to type them into their own columns and rows.
    No, you don't. You can use the charm of Numbers to create cell references for your Excel clients.
    In this Numbers Table, I have added some extra Columns that you can hide later.
    Column B =COLUMN(A2)
    Column C =HLOOKUP(B2,'Table 1-1' :: $1:$2,2,FALSE)      [explanation later]
    Column D =ROW(B2)
    Column E =C2&D2
    Add those formulas to the first Body Row (below the Header Row) and Fill Down.
    Column C refers to another Table which you need only create once, to convert a Column number to a letter:
    and so on from 1-26, A-Z.
    You can move the second Table to another Sheet to hide it. Formulas will automatically adjust to keep the links between Sheets.
    Now in the first Table, select and Hide Columns B,C,D. Formulas will continue to work with hidden cells:

  • JTable -showing column headers and displaying multi-line strings

    This is two questions really.
    #1 - Does anyone know why my column headers aren't showing in my jtable using the model below?
    #2 - Does anyone know how I can display, mulitple line strings in a jtable? Currently my newline character ('\n') is just being displayed as a character.
    any help very much appreciated,
    private class TaskHistoryTableModel extends AbstractTableModel {
    private List taskHistory = new ArrayList();
    public Object getValueAt(int row, int col) {
    if (col == 0) {
    return ((TaskHistoryItem) taskHistory.get(row)).getText();
    } else {
    return ((TaskHistoryItem) taskHistory.get(row)).getDate().getTime();
    public int getRowCount() {
    return taskHistory == null ? 0 : taskHistory.size();
    public int getColumnCount() {
    return 2;
    /** Getter for property taskHistory.
    * @return Value of property taskHistory.
    public List getTaskHistory() {
    return taskHistory;
    /** Setter for property taskHistory.
    * @param taskHistory New value of property taskHistory.
    public void setTaskHistory(List taskHistory) {
    this.taskHistory = taskHistory;
    public String getColumnName (int col) {
    return col == 0 ? "Text" : "Entered At";
    public boolean isCellEditable(int row, int col) {
    return false;

    fixed my own problem - make your mulit-line string into html format e.g.
    this string will appear on two lines in a jtable
    "<html><p>A much more interesting entry</p> <p>on multiple lines</p></html>"

  • 11GR2 : installation without database control and grid

    Hi men,
    i would like to know if it is possible to install 11GR2 database without install Database Control and Grid. It is important because my customer doesn't need to use these products.

    BlueR wrote:
    Hi men,
    i would like to know if it is possible to install 11GR2 database without install Database Control and Grid. It is important because my customer doesn't need to use these products.
    Thx.Your customer thinks he doesn't need a management tool? He may very well not need Grid. Technically, you don't need dbcontrol either. But as much of a command-line bigot as I am, I'd hate to have to go back to scripting everything, and I see no sense in paying good money for a third-party tool to do the same thing I can do with dbcontrol for free. I'd say that as a professional, you owe it to your customer to question him and explain why this might not be "A Good Thing".

  • JTable without column headers?

    I want a JTable without the column headers.
    How can i do this?

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JFrame {
        public Test() {
         String[] head = {"","",""};
         String[][] data = {{"0-0","0-1","0-2"},
         JTable myTable = new JTable(data,head);
         Container content = getContentPane();
         content.add(new JScrollPane(myTable), BorderLayout.CENTER);
        public static void main(String[] args) { new Test(); }

  • TableView column headers do not line up with rows

    Right now I have a tableview with column headers that are wider than the cells in the rows of the table.
    Anyone know what property or css style I need to adjust to give the cells a little more padding? I have not had any luck searching the web or these forums.
    Edited by: astep on Feb 26, 2013 6:59 AM

    Sorry it took me a little bit to strip things down and create the project. I used NetBeans to reproduce the effect and I tried to follow the same pattern in case it had a side effect. Sorry there is so much code here for such a simple demo. I'm going to play around with it some to see if removing some of the css eliminates the effect.
    <?xml version="1.0" encoding="UTF-8"?>
    <?import java.lang.*?>
    <?import java.util.*?>
    <?import javafx.scene.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.layout.*?>
    <AnchorPane fx:id="ConstraintsAnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="460.0" prefWidth="480.0" style="-fx-background-color:black" xmlns:fx="" fx:controller="testtableview.SampleController">
        <TitledPane fx:id="ConstraintsTitlePane" alignment="CENTER" animated="false" collapsible="false" contentDisplay="CENTER" opacity="0.75" text="Constraints by Stream Class">
            <TableView fx:id="constraintsTableView" prefHeight="445.0" prefWidth="480.0" />
    .root {
    -fx-base: rgb(50, 50, 50);
    -fx-background: rgb(50, 50, 50);
    -fx-control-inner-background:  rgb(50, 50, 50);
    .table-view {
         -fx-prompt-text-fill: White;
    .table-cell {
         -fx-border-color: black;
    .table-cell:hover {
         -fx-background: DimGray;
         -fx-background-color: DimGray;
    .table-cell:selected {
         -fx-background: DimGray;
         -fx-background-color: DimGray;
    .table-row-cell {
         -fx-border-color: black;
         -fx-control-inner-background: black;
    .table-row-cell:hover {
         -fx-background: DimGray;
         -fx-background-color: DimGray;
    .table-row-cell:selected {
         -fx-background: DimGray;
         -fx-background-color: DimGray;
    package testtableview;
    import javafx.application.Application;
    import javafx.fxml.FXMLLoader;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    public class TestTableView extends Application {
        public void start(Stage stage) throws Exception {
            Parent root = FXMLLoader.load(getClass().getResource("Sample.fxml"));
            Scene scene = new Scene(root);
        public static void main(String[] args) {
    package testtableview;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    public class Model {
         private static Constraint temp = new Constraint();
         private static Model instance = null;
         private Model() {
         public static Model getInstance() {
              if (instance == null) {
                   instance = new Model();
              return instance;
         private static ObservableList<Constraint> constraintsList = FXCollections
         public ObservableList<Constraint> getConstraintsList() {
              return constraintsList;
         public static class Constraint {
              private SimpleStringProperty ColumnOne = null;
              private SimpleStringProperty ColumnTwo = null;
              private SimpleStringProperty ColumnThree = null;
              private SimpleStringProperty ColumnFour = null;
              private SimpleStringProperty ColumnFive = null;
              private SimpleStringProperty ColumnSix = null;
              private SimpleStringProperty ColumnSeven = null;
              public String getColumnOne() {
                   return ColumnOne.get();
              public void setColumnOne(String input) {
              public String getColumnTwo() {
                   return ColumnTwo.get();
              public void setColumnTwo(String input) {
              public String getColumnThree() {
                   return ColumnThree.get();
              public void setColumnThree(String input) {
              public String getColumnFour() {
                   return ColumnFour.get();
              public void setColumnFour(String input) {
              public String getColumnFive() {
                   return ColumnFive.get();
              public void setColumnFive(String input) {
              public String getColumnSix() {
                   return ColumnSix.get();
              public void setColumnSix(String input) {
              public String getColumnSeven() {
                   return ColumnSeven.get();
              public void setColumnSeven(String input) {
              public Constraint() {
                   this.ColumnOne = new SimpleStringProperty("");
                   this.ColumnTwo = new SimpleStringProperty("");
                   this.ColumnThree = new SimpleStringProperty("");
                   this.ColumnFour = new SimpleStringProperty("");
                   this.ColumnFive = new SimpleStringProperty("");
                   this.ColumnSix = new SimpleStringProperty("");
                   this.ColumnSeven = new SimpleStringProperty("");
    package testtableview;
    import testtableview.Model.Constraint;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    public class ConstraintsTableViewModel {
         private static TableView<Constraint> table = new TableView<Constraint>();
         private static ObservableList<TableColumn<Constraint, String>> columnList = FXCollections
         public static TableView<Constraint> setupView() {
              TableColumn<Constraint, String> ColumnOneCol = new TableColumn<Constraint, String>("Example Exam1");
              ColumnOneCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnOne"));
              TableColumn<Constraint, String> ColumnTwoCol = new TableColumn<Constraint, String>("Example 2");
              ColumnTwoCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnTwo"));
              TableColumn<Constraint, String> ColumnThreeCol = new TableColumn<Constraint, String>("Example3");
              ColumnThreeCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnThree"));
              TableColumn<Constraint, String> ColumnFourCol = new TableColumn<Constraint, String>("Example4");
              ColumnFourCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnFour"));
              TableColumn<Constraint, String> ColumnFiveCol = new TableColumn<Constraint, String>("Example5");
              ColumnFiveCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnFive"));
              TableColumn<Constraint, String> ColumnSixCol = new TableColumn<Constraint, String>("Example6");
              ColumnSixCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnSix"));
              TableColumn<Constraint, String> ColumnSevenCol = new TableColumn<Constraint, String>("Exam7");
              ColumnSevenCol.setCellValueFactory(new PropertyValueFactory<Constraint, String>("ColumnSeven"));
              return table;
    package testtableview;
    import testtableview.Model.Constraint;
    import java.util.ResourceBundle;
    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.TableView;
    public class SampleController implements Initializable {
         private TableView<Constraint> constraintsTableView;
         private Model cm = null;
        public void initialize(URL url, ResourceBundle rb) {
            cm = Model.getInstance();

  • Posting an Idoc with Multiple Headers and Multiple Lines

    Hi all,
    I have a scenario like this fileXIIdoc
    Invoice file comes in text file with multiple header and multiple lines like this
    111               aaa     13214234    US   (header)
    09082010     ABC    9999            A     (Line)
    222               ccc     43454543    US   (header)
    09082010     XYZ    7777            B     (Line)
    09082010     PQR    8888            C     (Line)
    I need to post single Idoc with all the headers and lines
    we are planning to use Custom Idoc,Is this possible by having the header segment as unbounded??
    Edited by: Vamsi Krishna on Sep 8, 2010 8:05 PM

    lets go again.
    you have to edit the custom IDoc and change the ocurrance on the header segment. also modify the details segment adding an addtional field that identify which header that this detail belong.
    for this case you cannot change the occurrance in SAP PI because you wont identify what i have told you before.  in PI apply to change the occurrance if you could send ONE Idoc Per Header.
    now is better clear???
    Let us know.
    Rodrigo P-.

  • Message Mapping-Generating Headers and corresponding Line items in 1 file

    I am working on JDBC to File scenario.
    There is a staging table in SQL Server. XI polls the table every 20 secs and picks up all the data with flag = 0. After fetching the records it sets the flag to 1 so that the same data do not get fetched the next time.
    The record have one Bill No and there can be more than 1 line items associated with that bill no.
    The target structure is as follows:
    Record          1
       Bill No          0...unbounded
       Line item     1
            Line items    0...unbounded
    Now the requirement is to generate a file with header and all the corresponding line items below it.  That is one file can have many headers but all the line items should succeed its corresponding header.
    I have written a UDF to generate the same.
    For Bill No.:
    Bill No -> RemoveContext -> Sort - > UDF -> SplitBy Value -> CollapseContext
    UDF just removes the duplicate Bill No and generates the list.
    Now the issue is if Bill No as per source is 8,4,1,3 then the ones getting generated in the target str is in the same order as it is in source that is 8,4,1,3. But  I want this in the sorted order ie. 1,3,4,8. Althoug I have used Sort func, its not getting generated.
    Please help.

    chk this:
    BillNo-removeContext--sort--splitByValue(valuechange)---collapse Context---Record
    BillNo-removeContext--sort--splitByValue(valuechange)---collapse Context---splitbyvalue(each Value)---BillNo(Target)
                                -------------------------- SortByKey----------FormatByExample(2nd argument mapping below)---UDF2---Line Item
    BillSerailNo(set its context to Row)--UDF1---removeContext--
    BillNo-removeContext--sort--splitByValue(valuechange)----2nd argument mapping of "formatbyexample"
                                --------SortByKey----FormatByExample(2nd argument)---UDF2--splitbyvalue(each value)-Bill Serial No
    BillSerailNo(set its context to Row)----UDF1---removeContext-----
    BillNo-removeContext--sort--splitByValue(valuechange)----2nd argument mapping of "formatByExample"
    udf1: Input will be var1
    Execution type: all values of a context
    String a="";
    for(int i=0;i<var1.length;i++)
    a = a + var1<i>+ ";";
    int b= a.length();
    UDF2: input will be var1
    Execution type: all values of a context
    for(int b=0;b<var1.length;b++)
    String [] a = var1<b>.split(";");
    for(int i=0;i<a.length;i++)

  • Download a ALV report without repetitive headers and footers.

    I have an ALV report with header and footer. When I download the report into excel, after every 30 (approx) records there is a header and a footer. But I do not need it.
    I need header only once and footer only once in the excel sheet. Please let me know how to achieve it.

    Hi Manish,
    if sy-pagno EQ 1 or sy-batch = 'X'.
      Call the top-of-page event code.
    I don't think it can work as it calls the top-of-page at each page in batch mode. Better code should be something like :
    if sy-pagno EQ 1.
      Call the top-of-page event code.
    Note : for a generic solution, I think the page number is not automatically page number 1 (for example, if we use a cover page or have printed something else before). So we'd should better use a global variable (first_time) set to 'X' just before CALL FUNCTION 'REUSE_ALV_LIST...' :
    IF first_time = 'X'.
      Call the top-of-page event code.
      CLEAR first_time.
    To All,
    I really made a big confusion in my previous answers, which were in fact about column headings (how to print them only once). Sorry about that.

  • In Gmail, some column headers and formatting buttons on the bottom of e-mail are white/transparent/invisible

    I have to toggle between regular and html versions of gmail and it's intolerable. Google doesn't seem to have an answer and I suspect it may be Firefox related. Disabled all add-ons and restarted Firefox and still had issue. Tried private window in firefox, same issue.
    I appreciate any information.

    That might be because image are blocked.
    You can open the Web Console (Firefox/Tools > Web Developer).
    Check on the Network tab if (image) content is blocked and has a file size 0 (zero).
    If images are missing then check that you do not block images from some domains.
    *Tap the Alt key or press F10 to show the Menu Bar
    Check the permissions for the domain in the currently selected tab in "Tools > Page Info > Permissions"
    Check "Tools > Page Info > Media" for blocked images
    *Select the first image link and use the cursor Down key to scroll through the list.
    *If an image in the list is grayed and "<i>Block Images from...</i>" has a checkmark then remove this checkmark to unblock images from this domain.
    Make sure that you do not block (third-party) images, the <b>permissions.default.image</b> pref on the <b>about:config</b> page should be 1.
    Make sure that you haven't enabled a High Contrast theme in the Windows/Mac Accessibility settings.
    Make sure that you allow pages to choose their own colors.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    Note that these settings affect background images.
    See also:
    There are extensions like Adblock Plus (Firefox/Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images and other content.
    See also:

  • IPad with gmail, the gmail shows up without a message and dated 12/31/00 on the iPad, but when logged on to Safari, the gmail account show the correct emails.

    iPad using gmail....on mail account on iPad the messages are blank with 12/31/00 as the date, but when logged on to gmail through Safari, the account show the accurate messages that were sent. Any ideas what is happening?

    Try a reset:
    1. Hold the Sleep and Home button down (together) for about 10 seconds
    2. Until you see the Apple logo (very important)

  • I keep getting an error message when i click view headers. i am unable to view column headers and am unable to sort by sender.

    erro message when i try to view full header (cannot view any header)

    Assuming that you are referring to '''email''' ''(based upon your use of the word sender''), Firefox doesn't do email, it's strictly a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [] <br />
    or this one <br />

Maybe you are looking for

  • F4 help not working in custom backend service for PD form

    Dear All, Iam working with the Create position HCM PD form and i have a requirement to add two fields, one for the company code and the other is for the cost center and then create the relationship betwee the position and the cost center when the for

  • Error Message: Illegal memory access. [54] in jrockit/vm/Reflects$IClass

    Hi, We ve got an Illegal memory access during stress tests. Is it a known crash? Let us know other info are needed. Thanks in advance, Marian Here is the jrockit.<pid>.dump file: ===== BEGIN DUMP ======================================================

  • Corrupt .pdf files since install of Adobe Acrobat IX Pro

    Since installing the new Adobe Acrobat IX Pro (cloud version) on my Mac Air, l'm unable to open old .pdf files. What can be done to resolve this issue. Thanks.

  • Messages won't automatically preview received pictures?

    When I had OSX 10.8, the messages app showed recieved pictures that were attached to images automatically. Now I have 10.9 and I have to select the name of the image and hit the spacebar to actually see it.. Is there a way to change this?

  • Lightroom 2.5 to CS5

    Hi Can any one throw any light on the fact that Lightroom  is saying that it cant find photoshop. If I go to use control+E to go to CS5 nothing happens, and if you go to photo in lightroom and look under edit in Photoshop is greyed out.. Any help ver