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

826 questions
120
votes
4 answers

How can I disable editing cells in a WPF Datagrid?

I'm constructing a datagrid in Windows Presentation Foundation, and I have a problem. When a user double-clicks on a cell in my datagrid, the cell goes into edit mode. I want to prevent that. Instead I want users to be able to select the full row -…
Pouyan
  • 2,499
  • 7
  • 27
  • 37
36
votes
3 answers

gridView with different cells sizes, pinterest style

Background GridView is a class that extends AdapterView , which means it shows cells in a grid-style efficiently, recycling old views to be shown as new ones when the user scrolls it. The problem Sometimes, you would want to get a special UI, which…
19
votes
1 answer

Why does Range work, but not Cells?

I'm trying to move some data from one workbook into another by assigning the values from one range to another. When I use the normal Range syntax to specify the destination range (Range("A1:B2")) my code works, but if I try to use the Range, Cells…
user2597163
  • 209
  • 1
  • 2
  • 4
16
votes
2 answers

A way to group table cells together in html?

So it is pretty straight forward. I need a way to group cells together. Like a
or a but none of them worked. seemed like a good solution but it only works for table rows. Help!
Allen Hundley
  • 191
  • 1
  • 1
  • 4
14
votes
2 answers

how to compare matlab cells or structs

Possible Duplicate: Octave/MATLAB: How to compare structs for equality? is there a simple comparison function for matlab cell or struct objects? using '==' doesn't seem to work :(
urso
  • 894
  • 1
  • 7
  • 16
13
votes
4 answers

Sum function in VBA

I have a problem with summing cells in vba. I need to use Cells(a,b): Range("A1").function="=SUM(Range(Cells(2,1),Cells(3,2)))" but it doesn't work.
haver24
  • 211
  • 2
  • 5
  • 10
10
votes
6 answers

Hide empty cells in table

I want to hide empty cells in table. Here is my code: $(function() { $(".empty").each(hideCellIfEmpty); }); function hideCellIfEmpty() { var theCell = $(this); if (theCell.html().length == 0) { hideSoft(theCell); …
sachinjain024
  • 19,669
  • 27
  • 88
  • 154
9
votes
2 answers

dequeueReusableCellWithIdentifier behavior changed for prototype cells?

In iOS5, using ARC and prototype cells for tableView on storyboard, can I replace the code below: static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil)…
Arildo Junior
  • 796
  • 1
  • 8
  • 15
9
votes
8 answers

How to keep value of merged cells in each cell?

I created a sheet with merged cells, but the value of the merged cells is only stored in the first cell. Is there anyway, to keep the same value in each of the cells, I need that for a formula I use. Thanks!
Kinshuk
  • 93
  • 1
  • 1
  • 3
9
votes
5 answers

Empty string vs NULL

I've a table where some rows have some blank cells. I tried to select such rows using IS NULL function. But the query select 0 rows. select * from zzz_fkp_registration_female where fname is null; (0 row(s) affected) Now I changed my query…
nischalinn
  • 936
  • 2
  • 7
  • 23
8
votes
4 answers

remove empty cells in MATLAB

I want to remove all empty cells at the bottom of a matlab cell array. However all code example that I found collapse the matrix to a vector, which is not what I want. So this code a = { 1, 2; 3, 4; [], []} emptyCells = cellfun('isempty', a);…
Matthias Pospiech
  • 2,714
  • 15
  • 46
  • 65
8
votes
2 answers

Paste Mathematica code so that's it's broken into separate input cells

I often copy Mathematica code from websites (such as SO) to a notebook. The code usually gets pasted as a single input cell. I'm looking for a simple way to paste it as several input cells for convenient step-by-step evaluation. For example, a =…
Szabolcs
  • 21,860
  • 5
  • 72
  • 158
7
votes
3 answers

Wrap within table-cell with long word in FOP

I have a table in FOP and it is working nicely until I get a very long word. The word then overwrites the cell ending in the table. I tried the wrap-option="wrap" within the table-cell and/or the block of the cell but it doesn't work **Total…
Thevagabond
  • 323
  • 2
  • 6
  • 28
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
  • 2,714
  • 15
  • 46
  • 65
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,679
  • 17
  • 52
  • 100
1
2 3
55 56