Problem with Hiding Columns in JTable

Hi.
Who knows how to hide column in JTable.
I try to get column:
MyTab.getColumnModel().getColumn(i)But there is no methods like SetVisible(false)
What to DO???

http://www.google.com/search?hl=en&q=%2Bhide+%2Bcolumn+%2Bjtable&btnG=Google+Search

Similar Messages

  • Problem with checkbox column in matrix

    Hello.
    I have a little problem with checkbox column in matrix.
    Column is binded to the UserData.
    It has ValOn="Y", ValOff="N".
    I use C++. It is wird problem. In matrix I have 10 columns - scrollbar role and if You want see checkbox column, You must role to the right. If this column is on the screen, and I use:
    checkcell->PutChecked(VARIANT_TRUE);
    then the checkbox is cheched, and if the checkbox isn`t on the screen and I use this comment - it nothing happening.
    I tried to use ValOn="Y", PutChecked...
    The problem i solved if the column is on the screen - if the column is first in matrix or second, but if it`s last I have a big problem.
    My column with checkbox is not editable, but I tried to make it editable, check it, and then make it uneditable - the same efect.
    How can I solve it ?
    Sorry for my english.
    Kamil Wydra

    Hello Kamil,
    I am not sure about your problem, but here is an example of how to use checkbox in UI API.
    First, create the matrix with checkbox column in Screen painter, and the output is an xml file, like this. Type as 121 indicates that it is a check box.
    - <column AffectsFormMode="0" backcolor="-1" description="" disp_desc="0" editable="0" right_just="0" title="Rented" type="121" uid="Rented" val_off="N" val_on="Y" visible="1" width="41">
      <databind alias="U_RENTED" databound="1" table="@VIDS" />
      <ExtendedObject />
    Second, bind the column to table from DB. This is a bug of 2004 Screen Painter, so if you are using 2005 Screen Painter, there is no problem.
    Third, when you open the form, you can check and uncheck the cell.
    BTW, please set the editable of the column to true.
    Hope this helps,
    Nick

  • WebRowSet Problem  with database columns defined as TEXT??

    Hello,
    Can somebody help me on this subject. (http://forum.java.sun.com/thread.jspa?forumID=31&threadID=778586)
    I have the same problem with TEXT column when I try to populate the WebRowset.
    Thanks,
    Stephane

    OK,
    I change my postgresql driver for the lastest version (postgresql-8.2-506.jdbc3.jar) for JVM 1.5 and it's find...
    This driver support the javax.sql.
    St�phane
    Edited by: Borealis on Oct 15, 2007 12:43 PM

  • Problem with Stacked Columns in Business Graphics

    Hi,
    Has anyone used the stacked columns chart type in business graphics?  Am facing a problem with this.
    I am using the SimpleGraphics example demo with 2 dataseries, the values ranging from 0-10.  It works fine if the chart type is Columns (this is default).  When I change the chart type to stacked_columns, the graph goes for a toss.  The y-axis range automatically changes to 0-1 (values as 0, 0.2, 0.4 ... 1.0) and it does not display stacked columns as expected.
    Is there any specific property(s) that need to be set for this chart type?
    Appreciate any quick response.
    cheers,
    Vittal

    Hi friend,
    See the link below it is having the solution of hiding the columns in smart forms
    Hide table columns in smart form?
    Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
    I think this will solve your issue if you still have queries please revert back to me i will help you.
    Thanks,
    Sri Hari

  • Problem with dynamic columns in smartforms.

    Dear SDN Experts,
    I have a requirement in smartforms for dynamic columns.
    i have used template with 10 columns, So from these 10 columns,Columns may vary monthly MIN 2 to MAX 10 depending on
    readings with them  for that month.
    i cannot fix column headings also,Because headings also changes dynamically.
    So Problem is if there is no data in columns,Columns is displayng empty.
    For EX: In this month i have 2 columns data remaining all columns is displaying empty boxes.
    Please suggest me a solution  is this posible in smartforms if i use table also.
    <removed by moderator>
    Regrds,
    MNR
    Edited by: Thomas Zloch on Sep 11, 2011 3:50 PM

    Hi friend,
    See the link below it is having the solution of hiding the columns in smart forms
    Hide table columns in smart form?
    Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
    I think this will solve your issue if you still have queries please revert back to me i will help you.
    Thanks,
    Sri Hari

  • Working with Boolean Column in jTable

    I have generated a jTable on runtime. I have created an object of DefaultTableModel and used it to create the jTable.
    DefaultTableModel model = (new DefaultTableModel(
    new Object[][]{},
    new String[]{
    "SELECT", "SERVER"
    Class[] types = new Class[]{
    java.lang.Boolean.class, java.lang.Object.class
    boolean[] canEdit = new boolean [] {
    true, false
    public Class getColumnClass(int columnIndex) {
    return types[columnIndex];
    public boolean isCellEditable(int rowIndex, int columnIndex) {
    return canEdit [columnIndex];
    jTable table = new jTable(model);
    This creates a table with two columns. First one is a Boolean and the second one is a String. Boolean by default appears as check boxes. The first column is editable and the second is not.
    My problem is:
    I want to call some method when any of these checkboxes are selected.
    Hope to find some help very soon. Its a little urgent.
    Thanks in advance.

    Try writing your own cell renderer and editor.

  • Problem with shared column mapping

    I have a problem with mapping different fields onto the same column. In most cases Kodo handles it very well but one tough case it does not
    Modification references contract N-1 using contract_id field
    Contract back references two modifications out of all modification owned by THIS contract (last_modification and executed_modifcation)
    when both modifications are not null it works fine since I make sure both fields point to modification owned by the same contract
    hovewer when I set one of the fields (executed_modifcation) to null (after it was not null) Kodo attempts to set not only executed_modifcation field to null but contract_id as well. Which obviously not desired
    I understand that it is a pretty hard corner case. Do you think you can handle it or it is a dead end?
    Attached are my files

    Abe,
    I fully agree with your analysis. In my case we can use precedence of direct
    mappings over reference mapping in null situation.
    However as you noted, there are cases when we have only references and so
    you can not say which mapping is more important. However since we are
    resolving NULL issue here, I am not sure we need to know precedence of
    references - not null case should always take precedence. In other words:
    priority 1: direct mapping
    priority 2: not null reference
    priority 3: null reference
    Of course all three cases are subject rule of not changing value of shared
    column
    "Abe White" <[email protected]> wrote in message
    news:[email protected]...
    I admit that I didn't go through all your metadata, but I do believe that
    3.0 final will handle this case. My plan is to implement updates such
    that direct field mappings always take precedence over foreign key
    mappings.
    Let's say column CONTRACT_ID is used by int field contractId and is
    also used by field lastModification as part of an FK to a Modification
    instance (which I believe is close to your mapping). Because contractId
    is a simple field rather than a foreign key, Kodo will give it the final
    say on nulling/defaulting the CONTRACT_ID column. So if you null the
    lasetModification field, CONTRACT_ID will retain the value of the
    contractId field. Any non-null value of the lastModification field will
    stilly have to jive with the contractId field, though, or else we'll
    throw an exception like we do currently when you try to set 1 column to
    multiple values.
    I believe this solves the common case of shared
    columns between direct mappings and FK mappings. There are other cases
    in which multiple FK mappings overlap on certain columns, and this does
    not solve nulling problems in those instances. However, I think those
    cases are very rare and not worth the effort. Correct me if I'm wrong
    and your situation actually is one of sharing columns between multiple
    FKs and no primitives after all.

  • Problem with Hiding fields of selection screen which is called as subscreen

    Hello All,
    I have problem while hiding the selection screen which is called as subscreen.
    Flow of my logic:
    Selection-screen with one field and three buttons CREATE,DISPLAY and CHANGE in application toolbar.
    user enter some value in field and either he press change or dispaly
    When change i need to call selection screen when it is in dispaly i need to stop calling this selection screen.
    Upto my knowledge we can't stop calling selection screen in display mode so there is only one possibility is hiding the fields when it is in display mode.
    How can i hide the fields and where i need to hide fields?
    Please post some codes.
    Regards,
    Lisa

    you can refer the sample code which i mentioned in your previous post. that will solve the problem.

  • Problem with last column in footer - 11G

    Hello,
    I have a problem with displaying sum in footer for af:table .
    The footer connected to attributeValues which defined in the pageDef.
    I have 3 columns in the footer, the two first are shown fine, but last one is empty , althouh they are defined the same way.
    Replacing the order of columns did not resolve the problem, because still the last column is not shown.
    Any help will be appriciated.
    pageDef:
    <attributeValues id="BalancesDetailsViewSumCountUsed"
    IterBinding="InitBvBalancesDetailsViewIterator">
    <AttrNames>
    <Item Value="SumCountUsed"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="BalancesDetailsViewSumDifference" IterBinding="InitBvBalancesDetailsViewIterator">
    <AttrNames>
    <Item Value="SumDifference"/>
    </AttrNames>
    </attributeValues>
    Jspx:
    column c2 is fine , but c3 is empty
    <af:column sortProperty="CountUsed" sortable="false" id="*c2*"
    headerText="#{res['balances.countUsed']}" width="80px">
    <af:outputText value="#{row.CountUsed}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BalancesAMBalancesDetailsView.formats.CountUsed}"/>
    </af:outputText>
    <f:facet name="footer">
    <af:outputText value="#{bindings.BalancesDetailsViewSumCountUsed.inputValue}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BalancesDetailsViewSumCountUsed.format}"/>
    </af:outputText>
    </f:facet>
    </af:column>
    <af:column sortProperty="Difference" sortable="false" id="*c3*"
    headerText="#{res['balances.difference']}" width="80px">
    <af:outputText value="#{row.Difference}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BalancesAMBalancesDetailsView.formats.Difference}"/>
    </af:outputText>
    *<f:facet name="footer">*
    *<af:outputText value="#{bindings. BalancesDetailsViewSumDifference.inputValue}">*
    *<f:convertNumber groupingUsed="false"*
    *pattern="#{bindings. BalancesDetailsViewSumDifference.format}"/> </af:outputText>*
    *</f:facet>*
    </af:column>
    Thanks!

    Thanks you all!
    I found the problem. The iterator which sum the coulmn was at the last after the second sum, so it return null.
    So I replaced the hasNext() function with getAllRowsInRange() and now it is OK.

  • Problem with two-column layout

    Hello,
    I've done table-based layouts for several years, but I'm
    trying to switch to CSS. I still have a lot to learn...
    I'm trying to create a web site as a favor for a friend. She
    hasn't figured out what she wants yet, so I've just been creating
    some pages using canned designs. I created one using "Two-column
    left nav" under Dreamweaver's "Page designs (CSS)":
    http://www.alcie.org/demo2/
    I want a fixed-width left navigation column and a fluid
    content column.
    I ran into several problems with the original design. The
    most notible was that if I changed the browser window width, both
    the content and nav columns would resize. I didn't want that, so I
    set "navBar" width: 150px. That worked, but if I make the window
    too narrow, the content starts to overlap the navigation column in
    Firefox 1.5.0.6, and the navigation DIV drops to below the content
    in IE 7 rc (I think) 3 and IE6. I tried removing the width
    altogether, but that made things worse.
    What is wrong with this picture? Is there a cleaner way to
    solve my problem?
    Thanks.

    > Is there a cleaner way to solve my problem?
    Yes - dump that layout. It's too quirky. Go here and grab one
    http://www.maxdesign.com.au/presentation/page_layouts/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Clean & Sober" <[email protected]>
    wrote in message
    news:edgvl4$akl$[email protected]..
    > Hello,
    >
    > I've done table-based layouts for several years, but I'm
    trying to switch
    > to
    > CSS. I still have a lot to learn...
    >
    > I'm trying to create a web site as a favor for a friend.
    She hasn't
    > figured
    > out what she wants yet, so I've just been creating some
    pages using canned
    > designs. I created one using "Two-column left nav" under
    Dreamweaver's
    > "Page
    > designs (CSS)":
    >
    >
    http://www.alcie.org/demo2/
    >
    > I want a fixed-width left navigation column and a fluid
    content column.
    >
    > I ran into several problems with the original design.
    The most notible
    > was
    > that if I changed the browser window width, both the
    content and nav
    > columns
    > would resize. I didn't want that, so I set "navBar"
    width: 150px. That
    > worked, but if I make the window too narrow, the content
    starts to overlap
    > the
    > navigation column in Firefox 1.5.0.6, and the navigation
    DIV drops to
    > below the
    > content in IE 7 rc (I think) 3 and IE6. I tried removing
    the width
    > altogether,
    > but that made things worse.
    >
    > What is wrong with this picture? Is there a cleaner way
    to solve my
    > problem?
    >
    > Thanks.
    >

  • Problems with varchar2 column and a select statement

    Hi to all,
    I am new to ODP...so I would really appreciate your help..
    I am having problems with using the following code:
    con.ConnectionString = "User Id=bla;Password=bla;Data Source=bla;";
    string cmdQuery = "SELECT * from try where data ="+textBox1.Text+"";
    OracleCommand cmd = new OracleCommand(cmdQuery);
    cmd.Connection = con;
    cmd.CommandType = CommandType.Text;
    OracleDataReader reader = cmd.ExecuteReader();
    while (reader.Read())
    MessageBox.Show(reader.GetString(0)+"");
    cmd.Dispose();
    con.Close();
    where:
    data is the name of a field in the table
    textBox1 is the name of a text box where the user inserts the values..
    The error that appears is "Invalid identifier"..
    I hope it makes sense...and please help...

    Hi,
    I'm fairly sure it IS the single quotes actually. Print out the string you're trying to excute, then try it outside odp.net, does it work?
    For example:
    SQL> select * from dual where dummy=foo;
    select * from dual where dummy=foo
    ERROR at line 1:
    ORA-00904: "FOO": invalid identifier
    SQL> select * from dual where dummy='foo';
    no rows selected
    Cheers,
    Greg

  • Irritating problem with adding columns

    I am adding columns to jtable. And then moving it to required postion.
    But whenever I edit those columns all the newly added columns and the first column reflects those changes. ie whatever I enter in the new columns, it appears in all newly added columns and the first column as well.
    whats wrong I am doing here.
    EditableHeaderTableColumn ncol = new EditableHeaderTableColumn();
    TableColumnModel columns = table.getColumnModel();
    int c = table.getSelectedColumn();
    columns.addColumn(ncol);
    columns.moveColumn(i-1, c+1);

    Make sure you are not sharing the TableColumn instance or adding a TableColumn that already is in the TableColumnModel.
    When resizing the table column, do the others resize too. ?

  • Problem with the sorting of  JTable column

    Hi,
    I want to store the positions of the tablecolumns when my program closes and restore them when the program starts again. I store their column-index with their view positions.
    My problem comes when I want to restore them because I cant find a method to move the columns to their new position without compromising the ColumnModel() because then the you edit the model which with you are working with. See my example:
    for (int i = 0;i < getColumnModel().getColumnCount();i++)
    TableColumn tempColumn = getColumnModel().getColumn(i);
    //get it's position
    String position = (String) UserSettingsManager.getInstance().getItemFromMap(positionKey);
    if (position != null)
    getColumnModel().moveColumn(i, Integer.parseInt(position));
    How can I get a list of all the column without using getColumnModel().getColumn() .... or how do I fix this.
    Much thanks,
    Hugo

    See JTable's methods
    public int convertColumnIndexToView(int modelColumnIndex)
    public int convertColumnIndexToModel(int viewColumnIndex)
    for (int i = 0;i < getColumnModel().getColumnCount();i++)
    TableColumn tempColumn = getColumnModel().getColumn(i);
    //get it's position
    String position = (String) UserSettingsManager.getInstance().getItemFromMap(positionKey);
    if (position != null)
    int index=table.convertColumnIndexToView(i);
    getColumnModel().moveColumn(index, Integer.parseInt(position));
    best regards
    Stas

  • Problem with JCheckBox in a JTable

    Hello,
    I have a JTable with JCheckBox as Editor for boolean values.
    I added a ListSelectionListener on that JTable.
    My problem is :
    when I click on a cell which have a JCheckBoxEditor, there is only one event generated : the one which unselect the row previously selected.
    So i can't answer the selection.
    what could have append ?
    thanks a lot.
    fleur.

    hi,
    I have no custom editor for this table.
    here is my code :
    public VDEComposant(Locale langue,InterfaceModeleur listener,Composant composant,int largeur) {
    super(langue,listener,largeur);
    this.setLayout(new BorderLayout());
    _modele=listener.getModele();
    _composantCourant=composant;
    this.addComposantsListener((ComposantsListener)listener.getGestionnaire());
    construitBarreOutils();
    setNbLigne1(this.listeComposant(composant).size());
    int m=0;
    if (composant==Composant.COMPOSANT){
    _donCompPereApTM=this.creeModeleDonnee1(composant);
    _donCompPereApTM.addTableModelListener(this);
    setTableau1(new JTable(_donCompPereApTM));
    m=1;
    else{
    if (composant.getPere()==Composant.COMPOSANT){
    _donCompApTM=creeModeleDonnee1(composant);
    _donCompApTM.addTableModelListener(this);
    setTableau1(new JTable(_donCompApTM));
    else {
    _donCompUtTM=creeModeleDonnee1(composant);
    _donCompUtTM.addTableModelListener(this);
    setTableau1(new JTable(_donCompUtTM));
    getTableau1().addMouseListener(((OngletDonnees)((OngletDonnees)getIHM().getOngletDonnees())).getOngletComposants());
    MultipleComboBoxCellEditor editor = new MultipleComboBoxCellEditor(new JComboBox());
    getTableau1().getColumnModel().getColumn(4+m).setCellEditor(editor) ;
    getTableau1().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    getTableau1().getSelectionModel().addListSelectionListener(this);
    Dimension d1 = new Dimension(_largeur, getNbLigne1()*16);
    JScrollPane sc1 = new JScrollPane(getTableau1());
    sc1.setViewportView(getTableau1());
    if((composant.getPere()!=null)&&(composant.getPere()!=Composant.COMPOSANT)){
    this.add(_outils,BorderLayout.NORTH);
    String s="";
    if((composant.getPere()==null)||(composant.getPere()==Composant.COMPOSANT)){
    String sc="";
    if(composant==Composant.COMPOSANT_IMAGE){
    sc=" "+_ressources.getString("images");
    if(composant==Composant.COMPOSANT_LINEAIRE){
    sc=" "+_ressources.getString("lineaires");
    if(composant==Composant.COMPOSANT_METAD){
    sc=" "+_ressources.getString("lotdonnees");
    if(composant==Composant.COMPOSANT_NGS){
    sc=" "+_ressources.getString("nongraphiques");
    if(composant==Composant.COMPOSANT_SURFACIQUE){
    sc=" "+_ressources.getString("surfaciques");
    if(composant==Composant.COMPOSANT_SYMBOLIQUE){
    sc=" "+_ressources.getString("symboliques");
    s=_ressources.getString("liste_composant")+sc;
    else{
    s=_ressources.getString("description_composant");
    JLabel lab = new JLabel(s,JLabel.CENTER);
    JPanel inter = new JPanel(new GridLayout(1,1));
    inter.add(lab);
    inter.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createRaisedBevelBorder(),BorderFactory.createEtchedBorder()));
    Box boite1 = Box.createVerticalBox();
    boite1.add(inter);
    boite1.add(sc1);
    _inter.add(boite1);
    //ajout du deuxieme tableau
    _donAttCompTM=this.creeModeleDonnee2(composant);
    _donAttCompTM.addTableModelListener(this);
    setTableau2(new JTable(_donAttCompTM));
    getTableau2().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    getTableau2().getSelectionModel().addListSelectionListener(this);
    getTableau2().addMouseListener(((OngletDonnees)((OngletDonnees)getIHM().getOngletDonnees())).getOngletComposants());
    //ComboBox pour saisir le type de l'attribut
    _typeA = new JComboBox();
    _typeA.addItem(TypeEtendu.DATE.getNom());
    _typeA.addItem(TypeEtendu.DOMAINE.getNom());
    _typeA.addItem(TypePrimitif.ENTIER.getNom());
    _typeA.addItem(TypePrimitif.LOGIQUE.getNom());
    _typeA.addItem(TypePrimitif.REEL.getNom());
    _typeA.addItem(TypePrimitif.TEXTE.getNom());
    (getTableau2().getColumnModel().getColumn(3)).setCellEditor(new DefaultCellEditor(_typeA));;
    //renderer pour la colonne des nom qui indique en gras l'attribut identifiant
    getTableau2().getColumnModel().getColumn(1).setCellRenderer(new AttributTableCellRenderer(_composantCourant));
    Dimension d2 = new Dimension(_largeur ,(getNbLigne2()*16));
    JScrollPane sc2 = new JScrollPane(getTableau2());
    sc2.setViewportView(getTableau2());
    _inter.createVerticalStrut(16);
    inter = new JPanel(new GridLayout(1,1));
    lab = new JLabel(_ressources.getString("attributs"),JLabel.CENTER);
    inter.add(lab);
    inter.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createRaisedBevelBorder(),BorderFactory.createEtchedBorder()));
    Box boite2=Box.createVerticalBox();
    boite2.add(inter);
    boite2.add(sc2);
    _inter.add(boite2);
    if((composant.getPere()!=null)&&(composant.getPere()!=Composant.COMPOSANT)){
    this.add(_inter,BorderLayout.CENTER);
    else{
    this.add(_inter,BorderLayout.NORTH);
    public void valueChanged(ListSelectionEvent e) {
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm =(ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    else {
    int ligneSel = lsm.getMinSelectionIndex();
    if(e.getSource()==getTableau2().getSelectionModel()){
    String alias = (String) _donAttCompTM.getValueAt(ligneSel,1);
    attribut = composantCourant.getAttribut(alias);
    else if(e.getSource()==getTableau1().getSelectionModel()){
    VectorTableModel vtm = null;
    int i = 0;
    if(_donCompApTM != null){
    vtm = _donCompApTM;
    if(_donCompPereApTM != null){
    vtm = _donCompPereApTM;
    i =1;
    if(vtm != null){
    String alias = (String) vtm.getValueAt(ligneSel,i);
    composantSelectionne= modele.getComposant(alias);
    else{
    composantSelectionne=composantCourant;
    I hope it make sens,
    thanks.

  • Problem with checkbox column in ALV popup (ABAP)

    Hi, the problem is: I've created the code below for maintaining a popup with an ALV table inside. One of the column is a checkbox field. When I run first time the popup, it run well, when I clode the popup window and then I run for second time the popup, i see all the columns except those with the checkbox. Someone else have encountered the same proble, if yes someone could me explain that? Here's the code:
    method WDDOINIT .
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_This->wd_CpUse_ALV( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
      l_ref_INTERFACECONTROLLER =   wd_This->wd_CpIfc_ALV( ).
      data:
      l_VALUE type ref to Cl_Salv_Wd_Config_Table.
      data:  l_tabset  type ref to IF_Salv_Wd_Table_SETTINGS.
    l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model( ).
      l_tabset ?= l_value.
      l_tabset->set_read_only( abap_false ).
      l_tabset->SET_VISIBLE_ROW_COUNT( 15 ).
      l_tabset->set_width( '500' ).
      l_tabset->SET_DESIGN( VALUE = CL_WD_TABLE=>E_DESIGN-ALTERNATING ).
    data:
        lr_std_functions type ref to if_salv_wd_std_functions,
        l_table          type ref to if_salv_wd_function_settings.
      lr_std_functions ?= l_value.
      lr_std_functions->SET_EXPORT_ALLOWED( Abap_false ).
      lr_std_functions->SET_VIEW_LIST_ALLOWED( Abap_false ).
      lr_std_functions->SET_PDF_ALLOWED( Abap_false ).
      lr_std_functions->SET_DIALOG_SETTINGS_ALLOWED(  Abap_off ).
      lr_std_functions->SET_DIALOG_SETTINGS_AS_POPUP( Abap_off ).
      lr_std_functions->SET_DISPLAY_SETTINGS_ALLOWED( abap_off ).
      lr_std_functions->SET_EDIT_APPEND_ROWS_ALLOWED( abap_off ).
      lr_std_functions->SET_EDIT_APPEND_ROW_ALLOWED( abap_off ).
      lr_std_functions->SET_EDIT_CHECK_AVAILABLE( abap_off ).
      lr_std_functions->SET_EDIT_DELETE_ROW_ALLOWED( abap_off ).
      lr_std_functions->SET_EDIT_INSERT_ROWS_ALLOWED( abap_off ).
      lr_std_functions->SET_EDIT_INSERT_ROW_ALLOWED( abap_off ).
      lr_std_functions->SET_PDF_ALLOWED( abap_off ).
      data: lr_column   type ref to cl_salv_wd_column.
    instancing check box
      data: lr_checkbox type ref to cl_salv_wd_uie_checkbox.
      create object lr_checkbox
              exporting
                checked_fieldname = 'CHECK'.
      lr_checkbox->set_read_only( value = abap_false ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'CHECK' ).
      lr_column->set_cell_editor( lr_checkbox ).
    endmethod.
    Thanks for answers.

    This is just some guessing - but try and set a breakpoint in the wddoinit of your popup.  I'm betting that it isn't being executed on the second call because the original instance is reused. 
    Take a look at the properties on the view for the popup.  You might try  changing the lifetime of the view from "framework controlled" to "when visible".

Maybe you are looking for

  • What is the best external hard drive setup for pictures and videos?

    I have a FireWire 800 port & I'm looking to back up my pix and vids. I've read reviews of alot of different ones. I don't want a time capsule because all the reviews are negative. These are pix & vids that I do not want to lose so how can I safeguard

  • ABAP client proxy   401 error

    Hi i have generated a ABAP client proxy in my ECC system and sending an outbound message to XI.  i get the following error. HTTP response contains status code 401 with the description Unauthorized Error while sending by HTTP (error code: 401, error t

  • Unable to access player in tv

    When I attempt to play any saved items or a new one in Abobe tv the player appears but is a blank screen.

  • Download music issues...

    I know it is not a network issue since I have been able to download and install apps... Recently (February 1st) I bought the album "Made in Medina by Rachid Taha" About a week before I had purchased one song from this Album Barra Barra and couldn't d

  • How to deal with BOM in UTF-8 XML

    Hi folks, I am using the commons HttpClient to post a UTF-8 XML to a servlet. When the servlet receive the XML as InputSteam, I read it into the byte[] called buf. So far so good. When I look at the bye[], I notice there are 3 bytes which is the BOM