Directory being added two times in JTable rows.(JTable Incorrect add. Rows)
hi,
I have a problem, The scenario is that when I click any folder that is in my JTable's row, the table is update by removing all the rows and showing only the contents of my selected folder. If my selected folder contains sub-folders it is some how showing that sub-folder two time and if there are files too that are shown correctly. e.g. If I have a parent folder FG1 and inside that folder I have one more folder FG12 and two .java files then when I click on FG1 my table should show FG12 and two .java files in separate rows, right now it is showing me the contents of FG1 folder but some how FG12 is shown on two rows i.e. first row shows FG12 second row shows FG12 third row shows my .java file and fourth row shows my .java fil. FG12 should be shown only one time. The code is attached. The methods to look are upDateTabel(...) and clearTableData(....), after clearing all my rows then I proceed on adding my data to the Jtable and inserting rows. May be addRow(... method of DefaultTableModel is called two times if it is a directory I don't know why. Please see the code below what I am doing wrong and how to fix it. Any help is appreciated.
Thanks
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.table.*;
import javax.swing.border.*;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.*;
public class SimpleTable extends JPanel {
/** Formats the date */
protected SimpleDateFormat formatter;
/** two-dimensional array to hold the information for each column */
protected Object data[][];
/** variable to hold the date and time in a raw form for the directory*/
protected long dateDirectory;
/** holds the readable form converted date for the directories*/
protected String dirDate;
/** holds the readable form converted date for the files*/
protected String fileDate;
/** variable to hold the date and time in a raw form for the file*/
protected long dateFile;
/** holds the length of the file in bytes */
protected long totalLen;
/** convert the length to the wrapper class */
protected Long longe;
/** Vector to hold the sub directories */
protected Vector subDir;
/** holds the name of the selected directory */
protected String dirNameHold;
/** converting vector to an Array and store the values in this */
protected File directoryArray[];
/** hashtable to store the key-value pair */
protected static Hashtable hashTable = new Hashtable();
/** refer to the TableModel that is the default*/
protected DefaultTableModel model;
/** stores the path of the selected file */
protected static String fullPath;
/** stores the currently selected file */
protected static File selectedFilename;
/** stores the extension of the selected file */
protected static String extension;
/** holds the names of the columns */
protected final String columnNames[] = {"Name", "Size", "Type", "Modified"};
* Default constructor
* @param File the list of files and directories to be shown in the JTable.
public SimpleTable(File directoryArray[])
this.setLayout(new BorderLayout());
this.setBorder( BorderFactory.createEmptyBorder( 0, 0, 0, 0 ) );
(SimpleTable.hashTable).clear();
data = new Object[this.getRowTotal(directoryArray)][this.getColumnTotal()];
formatter = new SimpleDateFormat("mm/dd/yyyy hh:mm aaa");
//this shows the data in the JTable i.e. the primary directory stuff.
for(int k = 0; k < directoryArray.length; k++)
if(directoryArray[k].isDirectory())
data[k][0] = directoryArray[k].getName();
data[k][2] = "File Folder";
dateDirectory = directoryArray[k].lastModified();
dirDate = formatter.format(new java.util.Date(dateDirectory));
data[k][3] = dirDate;
(SimpleTable.hashTable).put(directoryArray[k].getName(), directoryArray[k]);
else if(directoryArray[k].isFile())
data[k][0] = directoryArray[k].getName();
totalLen = directoryArray[k].length();
longe = new Long(totalLen);
data[k][1] = longe + " Bytes";
dateFile = directoryArray[k].lastModified();
fileDate = formatter.format(new java.util.Date(dateFile));
data[k][3] = fileDate;
(SimpleTable.hashTable).put(directoryArray[k].getName(), directoryArray[k]);
model = new DefaultTableModel();
model.addTableModelListener( new TableModelListener(){
public void tableChanged( javax.swing.event.TableModelEvent e )
final JTable table = new JTable(model);
table.getTableHeader().setReorderingAllowed(false);
table.setRowSelectionAllowed(false);
table.setBorder( BorderFactory.createEmptyBorder( 0, 0, 0, 0 ) );
table.setShowHorizontalLines(false);
table.setShowVerticalLines(false);
table.addMouseListener(new MouseAdapter()
public void mouseReleased(MouseEvent e)
//TBD:- needs to handle the doubleClick of the mouse.
System.out.println("The clicked component is " + table.rowAtPoint(e.getPoint()) + "AND the number of clicks is " + e.getClickCount());
if(e.getClickCount() >= 2 &&
(table.getSelectedColumn() == 0) &&
((table.getColumnName(0)).equals(columnNames[0])))
System.out.println("The clicked component is " + table.rowAtPoint(e.getPoint()) + "AND the number of clicks is " + e.getClickCount());
upDateTable(table);
upDateTable(table);
/** set the columns */
for(int c = 0; c < columnNames.length; c++)
model.addColumn(columnNames[c]);
/** set the rows */
for(int r = 0; r < data.length; r++)
model.addRow(data[r]);
//this sets the tool-tip on the headers.
DefaultTableCellRenderer D_headerRenderer = (DefaultTableCellRenderer ) table.getTableHeader().getDefaultRenderer();
table.getColumnModel().getColumn(0).setHeaderRenderer(D_headerRenderer );
((DefaultTableCellRenderer)D_headerRenderer).setToolTipText("File and Folder in the Current Folder");
//Create the scroll pane and add the table to it.
JScrollPane scrollPane = new JScrollPane(table);
//Add the scroll pane to this window.
this.add(scrollPane, BorderLayout.CENTER);
* Returns the number of columns
* @return int number of columns
public int getColumnTotal()
return columnNames.length;
* Returns the number of rows
* @return int number of rows
public int getRowTotal(Object directoryArray[])
return directoryArray.length;
* Update the table according to the selection made if a directory then searches and
* shows the contents of the directory, if a file fills the appropriate fields.
* @param JTable table we are working on
* //TBD: handling of the files.
private void upDateTable(JTable table)
if((table.getSelectedColumn() == 0) && ((table.getColumnName(0)).equals(columnNames[0])))
dirNameHold =(String) table.getValueAt(table.getSelectedRow(),table.getSelectedColumn());
File argument = findPath(dirNameHold);
if(argument.isFile())
CMRDialog.fileNameTextField.setText(argument.getName());
try
fullPath = argument.getCanonicalPath();
selectedFilename = argument.getCanonicalFile();
CMRDialog.filtersComboBox.removeAllItems();
extension = fullPath.substring(fullPath.lastIndexOf('.'));
CMRDialog.filtersComboBox.addItem("( " + extension + " )" + " File");
catch(IOException e)
System.out.println("THE ERROR IS " + e);
return;
else if(argument.isDirectory())
String path = argument.getName();
//find the system dependent file separator
//String fileSeparator = System.getProperty("file.separator");
CMRDialog.driveComboBox.addItem(" " + path);
subDir = Search.subDirs(argument);
/**TBD:- needs a method to convert the vector to an array and return the array */
directoryArray = new File[subDir.size()];
int indexCount = 0;
/** TBD:- This is inefficient way of converting a vector to an array */
Iterator e = subDir.iterator();
while( e.hasNext() )
directoryArray[indexCount] = (File)e.next();
indexCount++;
/** now calls this method and clears the previous data */
clearTableData(table);
(SimpleTable.hashTable).clear();
data = new Object[this.getRowTotal(directoryArray)][this.getColumnTotal()];
formatter = new SimpleDateFormat("mm/dd/yyyy hh:mm aaa");
data = null;
data = new Object[this.getRowTotal(directoryArray)][this.getColumnTotal()];
for(int k = 0; k < directoryArray.length; k++)
if(directoryArray[k].isDirectory())
data[k][0] = directoryArray[k].getName();
data[k][2] = "File Folder";
dateDirectory = directoryArray[k].lastModified();
dirDate = formatter.format(new java.util.Date(dateDirectory));
data[k][3] = dirDate;
(SimpleTable.hashTable).put(directoryArray[k].getName(), directoryArray[k]);
model.addRow(data[k]);
model.fireTableDataChanged();
else if(directoryArray[k].isFile())
data[k][0] = directoryArray[k].getName();
totalLen = directoryArray[k].length();
longe = new Long(totalLen);
data[k][1] = longe + " Bytes";
dateFile = directoryArray[k].lastModified();
fileDate = formatter.format(new java.util.Date(dateFile));
data[k][3] = fileDate;
(SimpleTable.hashTable).put(directoryArray[k].getName(), directoryArray[k]); }
model.addRow(data[k]);
model.fireTableDataChanged();
table.revalidate();
table.validate();
* Searches the Hashtable and returns the path of the folder or the value.
* @param String name of the directory or file.
* @return File full-path of the selected file or directory.
public File findPath(String value)
return (File)((SimpleTable.hashTable).get(value));
* This clears the previous data in the JTable and removes the rows.
* @param JTable table we are updating.
public void clearTableData(JTable table)
for(int row = table.getRowCount() - 1; row >= 0; --row)
model.removeRow(row);
model.fireTableStructureChanged();
java gurus any idea how ti fix this problem.
thanks
Similar Messages
-
Adding two time periods together, summing it up and misusing 30 minutes from it HELP!
SUPer tricky questions and brownie points for who can solve it!
Column B6 has 11:00 am, Column C6 has 1:00 pm, column D6 has the total hours calculated (i.e. work from 11:00 am to 1:00 pm = 2 hours) and i want column e6 to minus half an hour (.30 hours) and display -.30 OR minus .30 minutes from Colulmn D6... however, only if the total hours/time in column D6 is greater than 5 hours. PLEASE FOR THE LOVE OF GOD TELL ME THE FORMULA FOR THIS!!Hi Chris,
No need to shout.
Formula in column C (calculates the Duration (time elapsed) between two Date and Time values:
=B-A
Formula in column D (Calculates the same Duration as above, but subtracts 30 minutes if the total Duration is greater than 5 hours):
=IF(DUR2HOURS(B-A)>5,B-A-DURATION(,,,30,,),B-A)
Note that any cell displaying a Date or a Time (of day) or both contains a Date and Time value.
If only the Date has been entered, the time part is set to 00:00:00 (midnight, at the beginning of that day).
If only the Time has been entered, the date part is set to the date the entry was made.
In the table above, the values in Row 18, the bottom row of the table are as follows:
A18: March 1, 2012 11:00:00 AM
B18: March 1, 2012 5:00:00 PM
C18: 6h
D18: 5h 30m
The first two are Date and Time values, the second two are Duration values.
Regards,
Barry -
Adding two time figures together
Please forgive me I am not familiar with FormCalc or Javascript.
I am creating a form for work and I need to add two time figures minutes and seconds (IE 02:30 + 02:30) I have looked all over the web and I can not find anything that is working,
I can add the two figures together but I get (ie 4:60)
please any help you can give will be be wonderfulHi Chris,
No need to shout.
Formula in column C (calculates the Duration (time elapsed) between two Date and Time values:
=B-A
Formula in column D (Calculates the same Duration as above, but subtracts 30 minutes if the total Duration is greater than 5 hours):
=IF(DUR2HOURS(B-A)>5,B-A-DURATION(,,,30,,),B-A)
Note that any cell displaying a Date or a Time (of day) or both contains a Date and Time value.
If only the Date has been entered, the time part is set to 00:00:00 (midnight, at the beginning of that day).
If only the Time has been entered, the date part is set to the date the entry was made.
In the table above, the values in Row 18, the bottom row of the table are as follows:
A18: March 1, 2012 11:00:00 AM
B18: March 1, 2012 5:00:00 PM
C18: 6h
D18: 5h 30m
The first two are Date and Time values, the second two are Duration values.
Regards,
Barry -
Two tables. How to make them add rows synchronizely?
This is the piece of code:
// add tab to index
// positie
indexTable_TableModel.addTab(tab, pos);
// rowcountertable
rowCounterTable.addRow(indexTable.getRowCount()-1);
// try to keep rows in sync
parent.repaint();A note: - the rowcountertable is a table with only one column, the second table has 12+ columns.
I suspect it has something to do with the way the tables repaint, but Iḿ not that into painting.
- the addTab method is just a trivial custom method which adds a row.
Could anybody help me a bit with this?
Edited by: Tails on 22-jul-2008 11:08
Edited by: Tails on 22-jul-2008 11:09I have not been completely clear about the real problem, so here's a little overview.
current procedure:
- the program loops through all the rows to check if the value to add, already exists
- (if the value doesnt exist) value get's added as row in the indextable
- rowCounterTable follows and just adds a row
then, after rows have been added,
- the program loops through all the previous rows to check if the newly added value is similar to one in a previous row
with the GUI on the EDT:
- the program loops through the rows to check the existence of the value, BUT, this may be inaccurate as the SwingUtilities process of the previous row still needs to add several rows. (the value may end up double in the table)
- SwingUtilities does the following when he has time:
- value get's added as row in the indextable
- rowCounterTable follows and just adds a row
after invokeLater() has been called,
- the program loops through 'all' the previous rows to check if the newly added value is similar to one in a previous row,
BUT: some rows may not yet have been added by the SwingUtilities function that do have to be compared, so the results of the comparisons will be inaccurate.
I hope this clears up the confusion while I write the SSCCE.
Edited by: Tails on 23-jul-2008 17:00
Edited by: Tails on 23-jul-2008 17:10 -
Add row button on tabular form works from time to time
Hi!
we have two environments (dev & prod) with 10gR2 and APEX 3.2.1.00.12 (installed from one and only setup file)
we have developed application on dev and moved it to prod,
and on prod it was discovered that - from time to time (not always) -
when you press 'add row' button on tabular form,
tabular form does not display new record on the page,
if number of records exceeds number of records allowed to show
(i.e. with 10 records maximum it works fine when you add records from 1 to 10 and can't add record 11)
but - interestingly - increases number of rows in pagination by 1
(e.g. "rows 10-20 of 35" changes to "rows 10-20 of 36").
on dev this tabular form works correctly.
what is it and how to heal it?..
I recall I had same issue in prior releases (3.0 - 3.1), is it known issue?It seems to be true:
- if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
- but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
thank you! -
JTable: After one row is modified, the row should have red color background
After one row is modified(using setValueAt()),
I want the modified row to have red color background color.
How can I do that? I tried.
JTableInstance.setBackground( Color.RED);But it sets all the rows not the only modified row.import java.awt.*;
import java.util.ArrayList;
import javax.swing.*;
import javax.swing.table.*;
public class TableChangeTest extends JFrame {
public TableChangeTest() {
initComponents();
renderer = new MyTableRenderer();
table.setDefaultRenderer(String.class, renderer);
int row = 0;
table.setValueAt("test1",row,0);
rowsChanged.add( row );
row = 2;
table.setValueAt("test2",row,1);
rowsChanged.add( row );
private void initComponents() {
panel = new JPanel();
scrollPane = new JScrollPane();
table = new JTable();
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setTitle("Table Change");
panel.setLayout(new BorderLayout());
table.setModel(new DefaultTableModel(
new Object [][] {
{"1", "a"},
{"2", "b"},
{"3", "c"},
{"4", "d"}
new String [] {
"Title 1", "Title 2"
Class[] types = new Class [] {
java.lang.String.class, java.lang.String.class
public Class getColumnClass(int columnIndex) {
return types [columnIndex];
scrollPane.setViewportView(table);
panel.add(scrollPane, BorderLayout.CENTER);
getContentPane().add(panel, BorderLayout.CENTER);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setBounds((screenSize.width-357)/2, (screenSize.height-241)/2, 357, 241);
public static void main(String args[]) {
new TableChangeTest().setVisible(true);
private JPanel panel;
private JScrollPane scrollPane;
private JTable table;
private TableCellRenderer renderer;
private ArrayList rowsChanged = new ArrayList();
class MyTableRenderer extends DefaultTableCellRenderer {
public Component getTableCellRendererComponent(
JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) {
super.getTableCellRendererComponent(table,
value, isSelected, hasFocus, row, column);
setBackground( Color.white );
if( rowsChanged.contains(row) ) {
setBackground( Color.red );
return this;
} -
hi guys,
I created one form in screen painter and used this form in VB.net. In this form one grid is available.
In the menuevent of this form I write the code for open the form when user click on menu. I also write the code for add row in the matrix.
When I open the form first time both opening the form as well as adding row into the matrix works fine.
After closing the form and open the form second time menuevent occur more than 2 times.
Due to this many rows are added in the matrix only one click of add row.
What would be reason for occuring menuevents more than 2 times?
Can anyone help me?
thanks in advance.hi kamil,
this function is called when click on Menu event.
when form is loaded.
// code when form is loaded from XML File.
Public Sub LoadForm1()
Dim oXmlDoc As Xml.XmlDocument
oXmlDoc = New Xml.XmlDocument
Dim sPath As String
Try
sPath = IO.Directory.GetParent(Application.StartupPath).ToString & "\"
oXmlDoc.Load(sPath & "NewInvoicePO.srf")
Dim cp As SAPbouiCOM.FormCreationParams
cp = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
cp.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
cp.FormType = "Invoice"
cp.XmlData = oXmlDoc.InnerXml
cp.UniqueID = "IndentPO"
cp.ObjectType = "POHeader"
oForm1 = SBO_Application.Forms.AddEx(cp)
oForm1.Title = "Indent PO"
oForm1.AutoManaged = True
oForm1.SupportedModes = -1
'oForm1.DataBrowser.BrowseBy = oForm1.Items.Item("33").Specific().value
oForm1.Freeze(True)
oForm1.EnableMenu("1281", True) '// Add Find Mode
'oForm1.EnableMenu("1282", True) '// Add New Record
oForm1.EnableMenu("1288", True) '// Next Record
oForm1.EnableMenu("1289", True) '// Pevious Record
oForm1.EnableMenu("1290", True) '// First Record
oForm1.EnableMenu("1291", True) '// Last record
oForm1.EnableMenu("1292", True) '// Add Row
oForm1.EnableMenu("1293", True) '// Delete Row
oForm1.EnableMenu("1294", True) '// Duplicate Row
AddDataBindToMainForm()
CreateMatrixForForm1()
oDBDataSource4 = oForm1.DataSources.DBDataSources.Add("@INDENTPOMASTER")
oDBDataSource5 = oForm1.DataSources.DBDataSources.Add("@INDENTPOCHILD")
oForm1.DataBrowser.BrowseBy = "31"
GetMaxPONo()
oForm1.Freeze(False)
oForm1.Visible = True
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
I write the following code in the item event when click on close button.
// code when click on close button
If pVal.FormUID = "IndentPO" And pVal.ItemUID = "2" And pVal.BeforeAction = True Then
Try
oForm1.EnableMenu("1288", False) '// Next Record
oForm1.EnableMenu("1289", False) '// Pevious Record
oForm1.EnableMenu("1290", False) '// First Record
oForm1.EnableMenu("1291", False) '// Last record
oForm1.EnableMenu("1292", False) '// Add Row
oForm1.EnableMenu("1293", False) '// Delete Row
oForm1.EnableMenu("1294", False) '// Duplicate Row
Exit Sub
Catch ex As Exception
'MsgBox(ex.Message)
End Try
End If
In the first line of the try block I got the error.
Error : object reference not set to an instance of an object. -
Problem in add row button in apex3.2
Hi All,
I have a requirement in tabular form in apex3.2 in which when i click the add row button the add row function is working and 1 row is loaded. again when i click the add row button it should load multiple rows according to my number of click. This condition is working in apex 4.1 but not in 3.2.
With Regards
Wildfire;;;apex 3.2 is different to 4.1, because in 4.1 it adds the rows on the fly without submitting the page.
But in 3.2 it submits the page and adds the new row, when submitting the page it adds any newly entered row into database and adds a blank row.
But in your scenario you are adding a blank row and not populating the values and clicking the add row to get another blank row, Which will try to post the existing blank row into database and adds new row(so you loose the first blank row)
I guess there was an option in (button or process) 3.2 to specify the number of blank rows you want.
Thanks -
Add row in Memu Event can't work
1:I create a Master UDO
2:Regist UDO with a child table
3:use UDO form generator tool to generate a UDO form with xml file
4:I use load from xml funtion to call form.
5. Add a buttom name "Add row" and have code with Add a row for matrix
I have two problems
one is,
I can add row by press "Add row" button and I can delete a row by UDO default menu("delete Row CtrlK"). My problem is why the default menu(Add Row CtrlI) don't work? May I write code for add a row by myself?
The other is
When I add menueven sub(catch menueven) in program ,my "Add row" buttom can't work normally. If I remove the menueven sub from my program, the "Add row" buttom work fine. Why? somebody help me.Hi Glen,
In my case, I developed own functionality to add row for a matrix.
I don't use 'add row' menu event actually.
And I don't know about menu event sub problems without any source code.
Regards,
Hyunil. -
Hi
I have a numbers document which I am unable to add a row.
The add row function is greyed out.
I can add columns.
Any ideas
Thanks
billYou've probably seen you can add filters in two ways.
One way is through the dropdown menu by the column letter:
And the other is via the Filter pane at the right:
If you had a filter on the table and didn't realize you had it, most likely you applied it inadvertently while exploring the contextual menu in the dropdown by the column letter (the first way described above.)
SG -
Behavior of ADD ROW button (v 2.0)
Hi,
I have a tabular SQL report form with 4 buttons: cancel, add row, submit, delete.
I come to the screen with no records, execute a query. After that I need to perform insert.
I press <ADD ROW> button, and correctly have one empty record for my possession. (in the process definition I have only 1 record to add.) I put some data into this row; and without the submitting I add another row by pressing <ADD ROW> button once more. And what happens? HTMLDB saves my 1st record and add another empty one! Is it expected behavior, that is what supposed to be? How to avoid it, not allow to save that recored (because in this case it by pass all my validations and insert a bad data) or at least alert the user that what is going to be?
Please, help.
Thanks,
Jenny.Vikas,
I've made some tests:
1. ADD button does not add a new record when there are not rows on the screen
2. if there is a row with invalid data (some mandatory fields are null) it does validations, it works, on the old record, which is on the screen.
3. after submitting correct record (commit was perfomed), add button gives
" Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process"
I my old posting Re: Error handling on Tabular form you created a sample appl to test that null validation function foo() which I'm using now for this process. Can you try ADD button also in that sample appl of yours?
I tried all these possibilities. So far, they do not work for me.
Thanks,
Jenny. -
I have added two new extension on CUCM, Directory not showing in attendant console even after resynch on CUCM and attendant cosnole
Any idea?Hello,
Can you tell us what versions of CUCM and CUxAC you are using? Just extensions alone in CUCM will not sync to the corporate directory within the attendant console application. You will at least have to have user's associated with those extensions and depending on your rule set within the console that should then bring those extensions into the console directory.
Thanks,
Tony -
Same error message getting added multiple times on clicking of row.
I have an application table where I can add an employee. At EO level, I have kept the unique key validator so that user cannot add the same employee again in the table.
So, now if user try to add the same employee which is already added in the table, then when I click on some other row (i.e on row change), an error message comes (which we have set at the EO level).
Now if you keep on clicking this row, the same error messages will keep on adding in the error box which is displayed. So, its like if you click the same row 5 times, the same error message will be shown 5 times in the error dialog box.
But the moment you click on some other row, it works fine i.e it shows you the error message only once which is what I want. So, is there any way to solve this issue?my jdev version is 11.1.1.6.0
And sorry but I didnt get your 2nd question regarding af:message tag! The message is coming from some bundle and we have set the message at EO level. -
I manually added two rows in error. How do i delete them?
Help, I manually added two rows, but cannot find out how to delete them without deleting all the responses!
Hi;
You can delete a single, or multiple rows in the Response Table by clicking on the row (or selecting multiple rows by clicking on the first row and then Shift+Click on the last row you want to select) and either using the right click context menu item "Delete Row/s" or clicking the arrow that appears when you mouse over the left side of the row/s and selecting "Delete Row/s" from the menu:
Thanks,
Josh -
Is there any way to prevent excess rows from being added to a table on the front panel?
Whenever I programmatically add rows through a property node I can still go into the front panel and keep adding additional rows through the table. Is there any way to prevent this "excess scrolling"? Maybe grey out the rows or something?
At least I have chickenHello Labviewleroy,
You should be able to right click on the table on the front panel and select
Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
You could also consider changing their visibility programmatically using a property node for the control or indicator that you are referencing. You can create the property node by right clicking on the control on the block diagram and selecting
Create>>Property Node>>Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
Cheers,
-Joel
Motion PSE
National Instruments
Maybe you are looking for
-
Office 2013 Home and Business OEM First Run screen
Hi There We are starting to roll out office 2013 oem Home and Business our users are reporting that the first run screen get coming up every time there open an office application. In Group Policy I've disable the First Run Movie and Office First run
-
Goods movement document based on stock determination
All, I am trying to create goods movement document using BAPI_GOODSMVT_CREATE based on production order for movement type '261'. Before to that we have to use the function module BF_STOCK_DETERMINATION to pick the stock from appropriate storage locat
-
I've tried everything i possibly could to try to get my safari to work. It doesn't work at all. I've tried going in the setting it just gets stuck there and when I click on the safari icon nothing works, I can't click anywhere or get anything to load
-
SPML webservice installation problem
Hi, I want to install the password sync connector for AD.For that we should have the SPML web service.I have done all the steps according to the document given.Please tell me the default port number if SSL is not enabled. Our env details: OIM version
-
Aperture got stuck while editing a photo in full screen mode and doesn't respond to commands
How do I stop Aperture when it is completely stuck and will not even respond to alt-cmd-esc?