Results 1 to 1 of 1
Thread: Blank Row in Table
- 12-06-2012, 10:58 AM #1
Member
- Join Date
- Dec 2012
- Posts
- 1
- Rep Power
- 0
Blank Row in Table
Hi,
Long time lurker but just registered and could do with a hand. Relatively new to java.
I have an area in my GUI where I want to paste a few items I have copied from another table.
However the area in my GUI is currently blank, so I need to load it with a blank row so I can actually paste into it.
Another area in my project the exact same thing I can do, but the area always has a table of data so I can paste into it with ease.
I'm not sure if I'm making much sense here.
So in summary, I need to load a default blank empty row into a table that doesnt yet exist, so I can copy and paste things from another table.....as I cant paste into it without the default row...
@Override
protected void handlePasteAction(int firstCellRow, int firstCellColumn, String data) {
for (GridPasteListener l : pasteListeners) {
l.paste(new GridPasteEvent(firstCellRow, firstCellColumn, data));
}
}
thanks for any help!
Similar Threads
-
Can you compare a list against a table, and see which items aren't in table?
By mydarkpassenger in forum JDBCReplies: 3Last Post: 02-23-2012, 09:30 AM -
How to embed HTML table in lotus notes tabbed table using java?
By mmsmohana in forum New To JavaReplies: 1Last Post: 09-27-2011, 06:06 AM -
struts-blank.war
By Dayanand in forum Web FrameworksReplies: 2Last Post: 08-02-2011, 01:08 PM -
Blank screen
By dewitrydan in forum New To JavaReplies: 14Last Post: 08-12-2010, 05:19 PM -
How to repaint.refresh the table (table model) with combo box selection envent
By man4ish in forum AWT / SwingReplies: 1Last Post: 01-08-2010, 06:19 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks