16 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for CoilFyzx

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, …

Member Avatar for mKorbel
0
670
Member Avatar for CoilFyzx

Hello good day. Thank you for trying to help. My problem is as follows. A few columns in my table, use a JComboBox as the editor for their cells. Each cell, in a row (via JComboBox) presents the same choices to the user. The user is allowed to choose from …

Member Avatar for mKorbel
0
1K
Member Avatar for CoilFyzx

Hello good day. Here is my problem: I have retrieved some a couple sets of data from my sql database and saved them in ArrayLists of (custom)types <Student> and <Subject>. I am using a single Table. I want to create a custom AbstractDataModel that displays the data from the ArrayList<Student>. …

Member Avatar for CoilFyzx
0
1K
Member Avatar for Pobunjenik

I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, …

Member Avatar for mKorbel
0
451
Member Avatar for diafol

Trying to access DW on Smartphone (Android) and still getting trouble with the dropdown menus. Trying to access PHP forum, but of course, no hover on mobile, so have to go to Web Design then find a thread with the PHP link. Has anybody got an easier way - I'm …

Member Avatar for diafol
0
301
Member Avatar for CoilFyzx

Hello Good day. Here is the problem I am trying to solve. I have a table as seen below. ![232465554203149acd8363d3a4a127ae](/attachments/large/3/232465554203149acd8363d3a4a127ae.jpg "232465554203149acd8363d3a4a127ae") My GOAL: Columns A through G are going to be filled with integers. (I have already created an integer model so that these cells only take integers). As the …

Member Avatar for CoilFyzx
0
445
Member Avatar for Dimonai

Hi everyone, I'm working in a project where its required a dynamic insertion of a grup of 3 textfields where one hiels dates. So far I manage to do the insertion part, but Im still with the problem of jquery datepicker only working right on the first(original) textfield. I notice …

Member Avatar for Dimonai
0
902
Member Avatar for spowel4

I am trying to set the value of cells in an Office 2010 worksheet using this code in Visual Studio 2012: for (int i = 1; i < 5; i++) { xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(i); int columnCounter = 1; foreach (string s in columnNames) { range = ((Excel.Range)xlWorkSheet.Cells[1, columnCounter]); range.Value = …

Member Avatar for spowel4
0
239
Member Avatar for boy.frenzy

I want to delete the contents from cell if the content of that cell are similar to the content of the previous cell of last column. i.e If the 10th cell of column 'A' & 10th cell of column 'B' have the identical content then I need to clear that …

Member Avatar for boy.frenzy
0
203
Member Avatar for VIPER5646

Hi all I'm trying to shade a cell based on a date difference between column 7 & 8. It seams to work accept column 8 seams to be the one being shaded instead of column 7. I have googled but can't find a solution to have the calculatin being made …

Member Avatar for john.knapp
0
313
Member Avatar for jbutardo

Need help, I need to know on how can VB.net validates the format of each cell on the excel file that it opens, for example, the first row should only be numeric, or cannot be null, is it possible that vb.net can check it before it inserts it in the …

Member Avatar for jbutardo
0
545
Member Avatar for nsyncpilu

Hy again , I have another problem now , I have an application with a jTabel , you can double click a cell and you can change the value that is inside it , after you changed the value inside the cell and hit enter the value i enterd remains …

Member Avatar for nsyncpilu
0
1K
Member Avatar for Pro2000

[B]Hello everybody. I've been working on a PHP file that adds a value to a cell in one table in MySQL.[/B] First I thought that the following code might work properly: [CODE] <?php require("DB_Connector.php"); //The file that connects to the MySQL database required mysql_query("update tableName set cellName= cellName + '$The_New_Value' …

Member Avatar for Pro2000
0
261
Member Avatar for Alexkid

Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button …

Member Avatar for Alexkid
0
171
Member Avatar for ThirstyGlen

Hi, I recently built a new html site and it looked great in FF, Chrome, Safari, and IE8. When I view the site in IE9, it expands vertically, leaving spaces between the images and generally destroying the page layout. I don't know if this is an issue with my html …

Member Avatar for ThirstyGlen
0
152
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Member Avatar for ms_sws
0
2K

The End.