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
2 answers

R require cell counts for number of occurrences of regex pattern over entire data frame

I'm working in R and I have a data frame containing epigenetic information. I have 300,000 rows containing genomic locations and 15 columns each of which identifies a transcription factor motif that may or may not occur at each locus. I'm trying to…
Darren
  • 277
  • 4
  • 17
1
vote
0 answers

TableRenderer colors whole Table (JTable)

I have got a small problem. My TableRenderer is supposed to color empty cells, instead the whole JTable gets colored. I looked up "coloring single cells" on the internet and tried some ideas, but they didnt work. here is my Renderer: public class…
Tobias Marschall
  • 2,355
  • 3
  • 22
  • 40
1
vote
1 answer

How to get first cell of TableView?

I'm new in Objective-C and iOS develop and I have a strange problem, only in one specific situation. This is part of my switch code: if(nowSolo>-1){ [soloarray replaceObjectAtIndex:nowSolo withObject:[NSNumber numberWithBool:NO]]; …
MaSza
  • 435
  • 7
  • 22
1
vote
1 answer

Load 10 cell rows at a time - swift

I currently have a firebase database with a lot of posts in it. The posts are displayed in a UITableViewController in custom cells. The problem is that it loads all of the cells at once - this can take a lot of time when more posts are coming. How…
D. Finna
  • 467
  • 2
  • 7
  • 19
1
vote
1 answer

Delete Rows of custom UITableViewCell frame issue

I am relatively new to Xcode and Swift programming, and in my first app, which consists of a tableview with a custom TableViewCell which overrides the variable frame to not cover the full width of the view: override var frame: CGRect { get…
Elias
  • 95
  • 1
  • 9
1
vote
2 answers

How to draw line in between two cell in uicollectionview

I want to draw line in between two Cell in UIcollectionView, Below is design what exactly I want Above design is dynamically change depends on array value.Please tell me if any one know how to draw line .
Jaywant Khedkar
  • 5,941
  • 2
  • 44
  • 55
1
vote
2 answers

POI: Cell format for 2000 and above records is corrupted

Can anyone help me on how can I fix this one. I'm using vb.net 2003 and I've tried to generate a report in Excel using POI, but I have a problem when the records is above 2000, cell formats has been missing or corrupted for the next 2000 and above…
Bryan
  • 1,245
  • 5
  • 22
  • 37
1
vote
3 answers

JQuery handsontable after renderer make cell readonly with respect to other cell value - not working

I have a handsontable with the following data in it. var data = [ ["2008", 10, 11, 12, 1], ["2009", 20, 11, 14, 0], ["2010", 30, 15, 12, 1] ]; Link: FIDDLE What I need suppose in last column if the value is 0 then I need the…
Santhucool
  • 1,656
  • 2
  • 36
  • 92
1
vote
2 answers

Changing a cell's background color in a JTable

How to change the color of the individual cells based on the value that they contain? Here's what I have based on what I've found. import java.awt.EventQueue; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import…
user7072447
1
vote
1 answer

Add additional rows in TableView

I use Swift 3. I have UITableView with 7 rows: override func viewDidLoad() { super.viewDidLoad() self.tableView.delegate = self self.tableView.dataSource = self } func tableView(_ tableView:UITableView,…
Kirill
  • 1,412
  • 4
  • 21
  • 45
1
vote
1 answer

Set default height of rows in TableLayoutPanel

How can I set default height of all TableLayoutPanel rows in c# to 16px? Usually I would do: for (int i = 0; i < amount_of_rows; i++) { panel.RowStyles.Add(new RowStyle(SizeType.Absolute, 16)); } But in my case I have 8 columns and unknown…
LukAss741
  • 771
  • 1
  • 7
  • 24
1
vote
2 answers

De-nest elements of cell-matrix into a matrix

EDIT: It turns out this problem is not solved, as it fails to handle empty cells in the source data. i.e. k = {1 2 [] 4 5}; cat( 2, k{:} ) gives 1 2 4 5 not 1 2 NaN 4 5. So the subsequent reshape is now misaligned. Can anyone outline a strategy…
P i
  • 29,020
  • 36
  • 159
  • 267
1
vote
3 answers

Difference between x(1) and x{1}

>> x = { {'a',[1],[2]}; {'b',[3],[4]} } x = {1x3 cell} {1x3 cell} >> A1 = x(1) A1 = {1x3 cell} >> A2 = x{1} A2 = 'a' [1] [2] Note that A1 and A2 display differently. A1 and A2 report as being the same…
P i
  • 29,020
  • 36
  • 159
  • 267
1
vote
2 answers

VBA - change value of cell depening on condition

seems like a simple enough question, but I couldn't find the answer here. I've used StackOverflow sooo much already the last year and finally decided to ask a question myself, I'm sure someone knows the answer! The situation: I have a column of…
Intuos
  • 13
  • 3
1
vote
1 answer

Converting cell array of strings with number arrays to matrices

I have cell array which has strings with different length: rr ={'1 2 5'; '5 6 1'; '12 56 2'; '12 1'; '343 2 -5 1 5'; '1 5 3 2 0'} I want to make different matrices of numbers and not string based on the strings…
EkEhsaas
  • 93
  • 9
1 2 3
99
100