Questions tagged [cells]

Cells are atomic elements within a structure composed of columns and/or rows, such as a table or grid.

Cells can contain hardcoded values, computed values based on functions, visualizations based on computed values, or external objects.

References

814 questions
7
votes
3 answers

find NaN values is cell array

lets assume I have the following array: a = {1; 'abc'; NaN} Now I want to find out in which indices this contains NaN, so that I can replace these with '' (empty string). If I use cellfun with isnan I get a useless output cellfun(@isnan, a,…
Matthias Pospiech
  • 3,130
  • 18
  • 55
  • 76
7
votes
5 answers

Setting static cells in uitableview programmatically

I am programmatically creating a tableview in objective c. How can I make the cells static programmatically? Thanks
jpo
  • 3,959
  • 20
  • 59
  • 102
6
votes
2 answers

How to load all cells of UICollectionView at once?

I have a UICollectionView with a lot of cells. I want to load all the cells in viewDidLoad, but UICollectionView loads its cells only when they are visible. Any suggestions?
StrawHara
  • 1,301
  • 19
  • 33
6
votes
1 answer

Identifying uniques in a cell array

I have a 45x2 cell in MATLAB, with the first column an arbitrarily sized matrix of doubles. Some of these matrices are repeated, whilst others aren't. I'm attempting to strip out only the unique matrices (but recording the number of repeates), and…
malangi
  • 2,692
  • 4
  • 28
  • 42
6
votes
3 answers

Javascript get entire 2nd column

I have searched for a solution to this issue everywhere but nothing has worked. I have successfully pulled the first column but I am unable to pull the 2nd column. The following code pulls the entire 1st column successfully. I changed .cells to [1]…
JohnB
  • 133
  • 1
  • 2
  • 13
6
votes
4 answers

Highlight cells in CollectionView

I'm building an app in iOS and I want the Cells in my CollectionView to highlight when touched, pretty much like the normal buttons. How can I achieve this in the didSelectItemAtIndexPath:(NSIndexPath *)indexPath method?
diogo.appDev
  • 1,595
  • 5
  • 16
  • 30
6
votes
3 answers

Adding Different DataGridView Cell Types to a Column

Goal My datagridview has two columns ([Question], [Answer]). Depending on the known question type (Yes/No Checkbox, Text Textbox, FileUpload Button) I want the column cell to have the respective control. Example Datagridview Rows: [Question] Do you…
Alex
  • 4,821
  • 16
  • 65
  • 106
6
votes
1 answer

MonoTouch How to implement RowSelected for a UITableViewController with Static Cells

I'm porting a native objective-C app to a Monotouch solution. I have a in my storyboard a tableview, with some static table cells. Using following objective-c code a received a selection from the table - (void) tableView:(UITableView *) aTableView…
5
votes
1 answer

Merging cells in a JXTreeTable

I want to merge two cells in a JXTreeTable. Is this possible? I have read the solution for Merging cells in JTable, but this does not work for JXTreeTables. What I mean with merging cells: I want to create a structure like this: node 1    |…
Fortega
  • 19,463
  • 14
  • 75
  • 113
5
votes
1 answer

Highlight cells in heatmap

I am currently trying to set up a heatmap of a matrix and highlight specific cells, based on two other matrices. An example: > SOI NAP_G021 NAP_G033 NAP_G039 NAP_G120 NAP_G122 2315101 59.69418 27.26002 69.94698 35.22521 …
bontus
  • 507
  • 1
  • 6
  • 9
5
votes
1 answer

EPPLUS To Clear Contents of A Range Of Cells

I want to use EPPLUS to clear a range of cells. I tried the syntax below, but it gives me an error of object reference not set to an instance of an object What would be the proper way to clear the contents of cells A24:C36 with…
5
votes
7 answers

Excel VBA - is it possible to set properties to each cell of a range through the use of a matrix?

I recently found out that it is possible to set values inside each cell of a range with a single command like: Worksheet.Range(Worksheet.Cells(Row1, Column1), Worksheet.Cells(Row2, Column2)) = MyMatrix Where MyMatrix is a 2D matrix, with…
Noldor130884
  • 974
  • 2
  • 16
  • 40
5
votes
3 answers

Apache POI merge cells from a table in a Word document

I need to have a table with the cells on the first and second row merged. Something like this: Image of table (I can't post pics) https://i.stack.imgur.com/dAO6j.png I have been reviewing all the questions related to this topic and I have found some…
JuanDeLaMora
  • 61
  • 1
  • 1
  • 7
5
votes
1 answer

Copy EXCEL cell x number of times

I have a column of about 1000 IP addresses that I need to print 5 times in a single column. For example 10.10.10.1 10.10.10.2 10.10.10.3 10.10.10.4 should become…
Glowie
  • 2,271
  • 21
  • 60
  • 104
5
votes
2 answers

setObjectForKey: exception: object cannot be nil

I am building an app using Parse and Xcode. When using the Parse PFTableView I am getting the error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key:…
surfaspen
  • 391
  • 7
  • 17
1
2
3
54 55