Questions tagged [cell]

A cell is an atomic element within a structure composed of columns and/or rows, such as a table or grid. For questions regarding cell arrays in MATLAB, the tag [cell-array] should be used.

Cell is a basic term that was introduced by spreadsheet programs like Excel, Lotus, etc.. It is also associated with tables in HTML and Word documents.

Cells can contain hard-coded values, computed values based on functions, visualizations based on computed values, or external objects.

For questions regarding cell arrays in MATLAB, the tag should be used.

References

5093 questions
1
vote
1 answer

Extjs 6- get grid Panel cell value

I want to get all grid cell value, so I test the first cell with bellow code: var array = []; var grid = Ext.getCmp('grid'); var selection = grid.getSelectionModel().getSelection()[0]; console.log(array.push(selection)); //it returns 1 however var…
Joy
  • 406
  • 4
  • 18
1
vote
2 answers

JavaFX Set Cell Background Color of TableColumn

TableColumn tc = new TableColumn(); tc.getStyleClass.add(".style in css file") I set up the TableColumn with a CSS file, and I want to give each cell different background colors. How can I accomplish this? Example) TableColumn 1~5 …
Jimmy Lee
  • 43
  • 1
  • 2
  • 8
1
vote
1 answer

Save excel file to PDF with the correct sizing

I am trying to save an Excel file as a PDF for printing purposes. I have set the column width and row height in cm, as I want to print at a specific size (it's a file of name tags that have to fit the tags themselves). However, when I convert to…
Henry Brice
  • 280
  • 1
  • 2
  • 18
1
vote
1 answer

Concatenate a cell array into the middle of another cell array in Matlab

I have two cell arrays, cellarray1 (m x n) and cellarray2 (m x 1), and want to take cellarray2 and input this in cellarray1. However, I would like to input this in the second column, thus pushing the existing cells in cellarray1 to the right, so…
augusti
  • 401
  • 3
  • 6
  • 16
1
vote
0 answers

How to align cells in Android Tablelayout to the right

i have a problem with the TableLayout in Android. I want something like this: but i dont get it to work :( i tried android:layout_weight and android:layout_gravity="right|center_vertical" but it still doesnt work. Does anyone has an idea? That's…
Hymir
  • 811
  • 1
  • 10
  • 20
1
vote
2 answers

Expand cell array iteratively

I have two cell arrays of different sizes and want to compare the cells in the first column of cellarray1 with the cells of the first column of cellarray2. If two cells are equal, take the information in the succeeding columns in that row in…
augusti
  • 401
  • 3
  • 6
  • 16
1
vote
3 answers

How to use identifier of cell in table view?

here's the code: import UIKit class SliderMenuTableViewController: UITableViewController { var tableArray = [String]() override func viewDidLoad() { super.viewDidLoad() // Uncomment the following line to preserve selection between…
Denis Windover
  • 445
  • 2
  • 6
  • 20
1
vote
1 answer

cell2table removes values from first column if string is a single character

Suppose you have the following data: A = [1,2,3;4,5,6]; headers = {'force', 'mass', 'acceleration'}; units = {'N','Kg','m/s^2'}; Let's say I want to convert it to a table, where headers will be the 'VariableNames': table_of_data =…
Stewie Griffin
  • 14,889
  • 11
  • 39
  • 70
1
vote
1 answer

How to only make one cell selectable

In my normal tableview I got a bunch of switches and segments, and I don't want them to be selectable, so I set: tableView.allowsSelection = FALSE; Now one of the cells, I want to point to a new view, and thereby make it selectable. But there's no…
John Kofod
  • 196
  • 1
  • 13
1
vote
2 answers

Retrieving values from input elements in a table in HTML

I have a table set up as such:
Sid G.
  • 100
  • 1
  • 9
1
vote
0 answers

How to make an icon in a JTable cell clickable but not the cell itself?

I have created an file-upload dialog with a JTable: Every time the user uploads another file, the JTable adds another row with the size of the document and an icon to trigger an action for the specific row. Since usually there is a bit of space…
hamena314
  • 2,969
  • 5
  • 30
  • 57
1
vote
2 answers

Adding textual column and row headers to numpy array

I am creating a 2d summary matrix from a 3d array using the following code: numTests=len(TestIDs) numColumns=11 numRows=6 SummaryMeansArray = p.array([]) summary3dArray = ma.zeros((numTests,numColumns,numRows)) j=0 for j in range(0,len(TestIDs)): …
MedicalMath
  • 61
  • 2
  • 5
1
vote
1 answer

C# DataGridView Event to Catch When Cell (ReadOnly) Value has been changed by user

I have a Winforms app written in C#. In DataGridView, I have set a column(DataGridViewTextBoxColumn) called 'Name' to ReadOnly = true. When the user right click on a Cell of the 'Name' column -> Display a form to set a value -> I want the…
MinhKiyo
  • 191
  • 3
  • 15
1
vote
2 answers

SQL cell wise trigger

Can a specific cell wise trigger be created? Or is IF UPDATE(COLUMN) WHERE OTHER_COLUMN LIKE 'JT' the equivalent present in SQL Server 2008? EDIT after getting 2nd answer--- IF not UPDATE(CurrentNo) --// Wanted to do like this : where series ='JT' …
Rick2047
  • 1,565
  • 7
  • 24
  • 35
1
vote
2 answers

Parsing excel cell. How?

We have Excel file. This file is in a cells with the name "address" containing the line, for example: The Accounts Department, National Bank Ltd, 20 Lombard Str., London 3 WRS, England Need to share information in the cell groups. That is, we must…
user471011
  • 7,104
  • 17
  • 69
  • 97
1 2 3
99
100