FAQ Database Discussion Community


ExtJs4 Change Field color on Statuscode

extjs,grid,extjs4,field,cell
Hello im struggling with ExtJs im Trying to change color in ExtJs grid where cell name is 'statuscode' if statuscode is 1 the cell has to change color in green! anybody an idea? Thanks Ext.define('Shopware.apps.ArticleUpdateLog.model.ArticleUpdateLog', { extend: 'Shopware.data.Model', configure: function () { return { controller: 'ArticleUpdateLog' }; }, fields: [...

why custom table cell is always in default size

swift,ios7,storyboard,cell
I set the custom cell Row Height to 132 in size inspector of storyboard. But my custom cell is always fixed to default row size and i can't see the different label's text properly for the short width of the row/cell. How can i overcome this issue ? Please see...

MATLAB - Extracting numbers from a cell array of strings

string,matlab,numbers,cell
I want to extract a number from a text file. First I read the file and import is as a cell array of the form: A = { '1 0 0 0 - 0: 0.000741764' '2 0 0 0 - 0: 100' '3 0 0 0 - 0: 100' '4...

Excel - Inserting Cell Values into Ranges

excel,range,cell,excel-indirect
I'm having problems inserting the value of a cell into a range. Right now I have: =M3/SUM(M$3:M$13) What I need is to be able to insert the value of another cell into that range, like: =M3/SUM(M$A1:M$B1) I have spent some time with the indirect function but I can't seem to...

How to perform functions on each cell containing 1x17 cells in itself?

matlab,function,cell,cell-array
I have a nested cell array 'y2a' of size 1x128 with each cell containing cell array of size 1x17. For eg: y2a{1,1} is a 1x17 cell array.Similarly y2a{1,2} and so on. I have to multiply the data in each sub-cell array (ie; y2a{1,1} or y2a{1,2}...etc)using the following formula for cells...

Read merged cells in Excel with Python

python,excel,cell,xlrd
I am trying to read merged cells of Excel with Python using xlrd. My Excel: (note that the first column is merged across the three rows) A B C +---+---+----+ 1 | 2 | 0 | 30 | + +---+----+ 2 | | 1 | 20 | + +---+----+ 3...

How to unnest a nested cell array?

arrays,matlab,conditional,cell
Hello I am trying to create a cell array that should look something like this. '3/7/2014' '209.167.128.156' 1037 '3/13/2014' '204.205.57.137' 8 '3/18/2014' '209.167.128.156' 164 '3/27/2014' '216.178.43.209' 825 But the problem is when I run my code I get a cell array that looks like this {1x3cell} {1x3 cell} {1x3 cell}...

Formula that will search cells in table to find a word

excel,search,excel-formula,cell,worksheet-function
I'm looking for a formula that will allow me to look for a value in a table and return any information if the value exists. Either True/False or a number where it starts (like search formula). The problem is that I will be looking for a word Apple and in...

How to find the vectors of the cell A that contain at least one element of the vector B?

matlab,vector,cell,cell-array
How to find the vectors of A that contain at least one element of the vector B ? example: A = {[2 5],[8 9 2],[33 77 4],[102 6],[10 66 17 7 8 11],[110 99],[1 4 3],[15 41 88]} B = [5 77 41 66 7] Result = {[2 5],[33 77...

Outline a raster cell of interest by cell number

r,plot,selection,cell,raster
I would like to outline a raster cell given the cell number in a plot. I have made a simplified example, that I was able to make in power point, but may have a resolution that will be more difficult to do this for (720 x 360 vs 3 x...

use multiple cell values in autofilter criteria

excel-vba,cell,autofilter
Please help me with this condition: 1) The value present in cell P1,P2,P3,P4 is user defined words like "F","S" and NA... 2) Use the user defined value as criteria for filtering the data in range(Y2:Y2999) The thing I tried that didn't work is: Sub c1() Dim a As String Dim...

Method Cells object -Worksheet failed

excel,vba,cell
I have a function, which should be run very often: Public Function FindNumberofhandle(stsmenthandle As String) As Long Dim r As Long Dim LastUsedRow As Long LastUsedRow = Worksheets(2).Cells.Find(What:="*", SearchOrder:=xlRows, SearchDirection:=xlPrevious, LookIn:=xlFormulas).Row For i = 1 To LastUsedRow If ActiveWorkbook.Sheets(2).Cells(i, 2).Value = stsmenthandle Then 'ERROR HERE r = i End If...

Excel IF a cell value is bigger then previous value of the same cell

excel,cell
I would like to put a value to A1 and when I changed A1 I want to keep the first entered value in another cell. Would that be possible ? Thanks...

Matlab: How to cut cells in cell array to the same length

matlab,cell
I have a cell array with different cells. val{1}=[1 2 3 4] val{2}=[5 6 7 8 9 10] val{3}=[11 12 13] val{4}=[14 15 16 17 18 19 20] Now I want to cut every cell that I have left 2 elements: val{1}=[1 2] val{2}=[5 6] val{3}=[11 12] val{4}=[14 15] Thanks...

MATLAB equating cell elements to array

matlab,cell
I'm trying to equate each element to an array which correspond to cell element. To explain it more precisely, e.g A = {[1 1 1], [0 0 0 0 0], [1 1],[0 0 0 0 0]}; B = [0 1 0 0]; So the thing I want is : A=...

JavaFX: Different types of alignment in one column of TableView

javafx,alignment,tableview,cell
Is it possible to do different types of alignment for each cell in one column of TableView? E.g. I have a column with 3 possible types of data inside: positive number, negative number and "-". First should be aligned left, second - right and 3rd - center. This is what...

using the 'Match' function in Exel to return a cell address

excel,reference,match,cell,formula
I have a list of numbers in a table that I would like to search for and bring back the cell reference of where that number resides. For example the data looks like: A B C D 1 1 2 3 4 ok it doesn't come out very well as...

Change the value in a cell in a datagrid (binding)

c#,wpf,binding,datagrid,cell
this is my issue. When I select a single row and I click on the button, the cell must change value, but it doesn't change anything This is XAML code. <DataGrid ItemsSource="{Binding Dati_Viaggio, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedItem="{Binding SelectDati_Viaggio, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" AutoGenerateColumns="False" HorizontalAlignment="Left" Height="119" Margin="10,10,0,0" VerticalAlignment="Top" Width="497"> <DataGrid.Columns> <DataGridTextColumn x:Name="NumOrd"...

Copy cell content from a column to another column in matlab

matlab,copy,cell
How should I copy all my cell content in a column to another column in the same cell. e.g. a{1,1}=[1 2]; a{2,1}=[3 4 5]; a = [1x2 double] [] [1x3 double] [] then,I'd like to copy all cell contents of this column to another column say column 2 without copying...

Swift: Stop table from generating cell that has already been deleted

swift,table,delete,cell,generated
This is the code that I use to generate a regular table cell in my RSS feed reader: override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { // Function adds the title to each cell let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as UITableViewCell let item = feedItems[indexPath.row] as MWFeedItem...

How to manage key pressings for special purposes in Gtk# TreeView?

c#,treeview,cell,gtk#
I have a KeyPressed signal in Gtk#/mono C# for two different purposes which are not present in the default TreeView: a) go to the next cell by pressing TAB, and b) start editing by pressing any key. The TreeView is simple, it has a ListStore showing only rows and columns,...

Mouseover Event for Table Cells

html,css,table,cell,mouseover
I know mouseover questions have been asked already but hear me out, my request is little different. I am trying to set up a table on a google sites page with the following properties: spanning the entire width of the site clickable (link) cells staggered design cell mouseover - each...

Trouble displaying Cell Date in swift, No errors

uitableview,swift,cell
ok so basically setting a basic messaging app using parse, have my message controller here finished but the cell data just isn't displaying. Im not getting any errors so not much to go on. Can anyone with a fresh pair of eyes spot the error code is as follows :-...

Custom cell segue with data pass error - Swift

swift,tableview,cell,segue
I am creating a quiz app and the table view presents the user with the questions they got right / wrong. When the user taps on a question it takes them to a new page that displys the explanation of the question. For clarification: I have correctly labeled my segue...

MATLAB:Selection-values instead of postions

arrays,matlab,cell
I have a cell array whose elements show the positions of values in a selection in the workspace. Now I want to keep the same cell array, but replace the positions by the the values. My cell: res{1}=[55 56 57 58] res{2}=[80 81] res{3}=[111 112 113 114 115 116 117]...

SQL using Count, with same “Like” multiple times in same cell

sql,oracle,count,cell,like
I'm trying to get a count on how many times BNxxxx has been commented in the comments cell. So far, I can make each cell be counted once, but there may be multiple comments in a cell containing BNxxxx. For example, this: ------- BN0012 ------- BN0012 ------- BN0012 BN0123 -------...

Change UITableViewCell Font in iOS 8 and swift

ios,uitableview,swift,ios8,cell
I'm trying to change the font for my uitableviewcells, I'm trying to use this at the moment with not success: cell.textLabel.font = [UIFont .preferredFontForTextStyle("Avenir")]; Now i've read a lot on this and it seems I should use this instead : cell.textLabel.font = [UIFont fontWithName: "Avenir" size:22]; Problem is fontWithName does...

How to perform right-array division on two cell array

arrays,matlab,cell
I have two cell array like: A={<16x1 double>, <37x1 double>, <43x1 double>} and B={<16x1 double>, <37x1 double>, <43x1 double>}. Now, I want to divide each element of cell array A by the corresponding element of cell array B or vice versa! If element of cell array B is bigger than...

Square root of cell array in matlab

arrays,matlab,cell,sqrt
I have a cell array A={<2x6 double>,<4x6 double>,<16x6 double>} and I want to calculate the square root of all elements of this cell array. for a single matrix, it is so simple to use sqrt but for cell array, is there any solution? THX in advance

How to maintain a range definition in excel vba after underlying cell changes?

excel,vba,excel-vba,cell
Excel noob here (sorry). My macro runs like this: Dim CellA, CellB As Range Range("A1") = 25 Set CellA = Range("A1") Range("A1") = 50 Set CellB = Range("A1") The problem is after this, CellA also will be equal to 50. Is it possible to adjust the code to keep CellA...

Does anyone know how to retrieve list of cell cycle genes from KEGG in R?

r,package,cell
I know how to retrieve a list of genes for specific pathways from KEGG website by using KEGG API but I couldn't find any packages that could do the same thing in R. The only annotation package I found was KEGG.db which just give a list of available pathways in...

How to get a value of a cell in datagridview devexpress

c#,gridview,devexpress,cell,identify
I have a Datagridview which contains checkboxes in the first column, and text in the second. When a Checkbox is clicked, the "CellValueChanging"-method is getting the index of the specific row. How do I get the matching string-text? the Column-index of the text is always the same (1)

What Cell,Table can I use to create a grid of only images in every cell, in GWT?

css,gwt,web-applications,grid,cell
I need to create a GWT application that handle the buying of films. So I have to show in a grid (not in a list, I don't like the view) these cell containing image and info about the film like this:( http://static.ipaditalia.com/wp-content/uploads/2012/11/mzl.sckskoqz.480x480-75.jpg ). I think that I need of a...

how to have one file work on objects generated by another in spyder

python,debugging,cell,spyder
I'm sure someone has come across this before, but it was hard thinking of how to search for it. Suppose I have a file generate_data.py and another plot_utils.py which contains a function for plotting this data. Of note, generate_data.py takes a long time to run and I would like to...

Insert tablerow and paste formula in it

excel,excel-vba,table,copy,cell
I have a question. The dutch forum coudn't help me out, so i'm posting this here. I have a protected Excel-sheet with a table in it. Users can add data to the table and insert and deletes rows. I have already a working VBA to insert (and delete) a row....

Java Assign a Value to an array cell

java,arrays,cell,value
I have the class Mappa and subclass MappaFermi with the array attribute Sector sector, each of the cells of the array is supposed to have a name, in the code of the class constructor i haven't had any problem naming them (all tests were successfull), however in the subclass constructor...

Concatenate two double arrays into a n x 1 cell array using matlab

arrays,matlab,matrix,concatenation,cell
I have an n x 1 double array. A = [1234; 1235; 1236; 1237; 1238]; and a double Scalar. B = [4567] I want to combine (concatenate) these to make a n x 1 cell array that looks like this, C = [1234 4567; 1235 4567; 1236 4567; 1237 4567;...

How display block that overwflows table cell?

apache,table,block,cell,fop
I render a table using Apache™ FOP (Formatting Objects Processor). I want to display a yellow block with fixed height and width. Block bottom should be at the same position where row bottom is. Block should overflow cells, block should not make cell larger. I'd rather not use rowspan. Any...

Apache POI - Column having non-english characters e.g. Thai and cell empty, then skips the cell

excel,utf-8,apache-poi,cell
I am trying to read an excel file (.xlsx) using Apache POI. One of the column of the file has non-english characters in it e.g. บริษัท พัฒนา จำกัด (มหาชน) If the cell is having any value, then POI reads the cell properly with correct non-english characters. But, if the cell...

How to add constraints to a Custom UITableViewCell

swift,constraints,tableview,cell
I have created a custom cell for my table view and it works fine except that my Image View will not align correctly. Is there a way to add constraints to a custom cell view? Programmatically or otherwise? This is what my cell looks like in the storyboard - which...

How to use the 'if' statement in matlab?

matlab,if-statement,vector,cell,cell-array
I have a cell array of size 5x5 as below B= 00 10 11 10 11 01 01 01 01 11 10 00 01 00 01 10 10 01 01 11 10 10 10 00 10 And two column vectors S1= 21 23 28 25 43 S2= 96 85 78...

Edit IPython cell in an external editor

vim,editor,cell,ipython-notebook
It would be great to have a keyboard short-cut in IPython notebook, which would allow to edit the content of the current cell in an external editor (e.g. gvim). Maybe just copy the content of the current cell into a temporary file, launch gvim on it, and update the current...

Count items in one cell array in another cell array matlab

arrays,matlab,cell
I have 2 cell arrays which are "celldata" and "data" . Both of them store strings inside. Now I would like to check each element in "celldata" whether in "data" or not? For example, celldata = {'AB'; 'BE'; 'BC'} and data={'ABCD' 'BCDE' 'ACBE' 'ADEBC '}. I would like the expected...

How to select all names in Excel with VBA

excel,excel-vba,cell,names
I am working with a large Excel file, where I have defined around 2000 names for cells. In addition the excel contains formulas, these formulas are already entered with references to cells (A23-B24). I want to change the cells references by the defined names (instead of A23-B24 having VARIABLE_100-VARIABLE_120). I...

TableView doesn't show uiimage

objective-c,uitableview,twitter,cell
I have an app that shows twitter account feed. So I have ImageView, textLabel and detailLabel for the content of the feed. The problem is that when all the data is loaded, the uiimage doesn't appear. When I click on the cell or scroll up-down, images are set. here is...

Unable to get dynamic table cell size working in XCode 6 iOS 8

xcode,uitableview,cell
I'm trying to adopt the adaptive layout in a new app and have learned quite a bit. For the last portion I had to dump text into a table and have the cells adjust to stay adaptive, seemed easy enough. I read through a few tutorials and for iOS 8...

Swift - displaying data for each row in tableview after row is clicked

swift,tableview,cell,didselectrowatindexpath
Having problems with displaying data for each row in tableview after row is clicked, and i want to use didselectRowAtIndexPath, not without it! :) ViewController.swift import UIKit class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource { @IBOutlet weak var tableView: UITableView! let textToDisplayInCell:[String] = ["item 1", "item 2", "item 3", "item 4"] let...

UIView.animateWithDuration does not work within a UITableviewCell

ios,uitableview,swift,animation,cell
I have a UITableviewCell subclass that contains a UIButton that is placed off-screen (right) with a Autolayout Horizontal Space Constraint to it's superview of -312. Now I want to animate this constraint to a value of -8 when the the cell is selected. I have created a outlet for this...

Autosize of TextFrame for a specific table cell in PowerPoint presentation programmatically

c#,cell,autosize,powerpoint-2010
I got the next situation. Got some variables: PowerPoint.Application objApp; Microsoft.Office.Interop.PowerPoint.Shape oShape; PowerPoint.Presentations objPresSet; PowerPoint._Presentation objPres; PowerPoint.Slides objSlides; PowerPoint._Slide objSlide; Microsoft.Office.Interop.PowerPoint.Shape oShape; I'm creating a PowerPoint 2010 slide presentation: objApp = new PowerPoint.Application(); objApp.Visible = MsoTriState.msoTrue; objPresSet = objApp.Presentations; objPres = objPresSet.Open(strTemplate, MsoTriState.msoFalse,...

Subtitle TableView Cell

ios,tableview,cell,subtitle
I am trying to get two texts in the title of the cell using the subtitle style. I tried "cell.textLabel!.text = data.valueForKeyPath("divelocation, divenumber") as? String" with no luck. can anyone help? thanks override func tableView(tableView: UITableView?, cellForRowAtIndexPath indexPath: NSIndexPath?) -> UITableViewCell { // Configure the cell... let CellID: NSString =...

Excel VBA How to select variable range of cells

excel,excel-vba,range,cell
I tried to search this problem but found no similar issue. I am still newbie in VBA and I'm trying to create macro which chooses range of cells depending on the user's input and then creates an outlined grid out of those selected cells. I have two ActiveX buttons in...

How can I create a footer for cell in datagridview

c#,winforms,datagridview,cell
I need to create a DataGridView with cells that have two parts. One part is the content of that cell such as 0, 1 etc value. And the remain part is the footer of that cell, just like a footer of a word document, refers to the ordinal number of...

How to add a Field in structure array?

arrays,matlab,structure,cell
I have a cell array that has 'Player' {1x3 cell} 'Position' {1x3 cell} I would like to create a structure array using this. The field names are supposed to be 'Player' and 'Position'. I can't use struct() to create it. This is what I tried for ii = 1:length(sparta) kra...

using pcolor to plot 2d array with different cell size in matlab

matlab,multidimensional-array,plot,size,cell
i have a domain of interest and this domain will be converted onto finite difference grid with cells (rows,columns) a 2-D array (cond) contains the conductivity values assigned to each cell in the desired domain when i use the pcolor command in matlab pcolor(cond); shading flat the output figure consider...

How to remove specific numbers in a excel cell [closed]

excel,cell,comma
I have a single excel cell that contains the following data: 0.5 0.6, 0.3 0.4, 0.8 0.9 Is there a formula I can apply that removes everything from the cell that is not before the first comma and after the last comma. My wanted result would be the following: 0.5...

How do I merge a random number of cells with a blank cell in a column?

excel,vba,cell
Example of my dataset: blank 1 2 blank 3 4 5 blank 6 I want to merge all cells below a blank cell into the blank cell, but stop counting when it reaches the next blank cell. End result should look like this, with the strings concatenated 12 345 6...

Cell array of strings - check elements in Matlab

arrays,matlab,cell
In Matlab, if I have a cell array of strings, how can I check if for example 3rd row and 1st column is equal to some given string, for example 'ABC'? For example, myArray(3,1) == 'ABC' gives me an error: Undefined operator '==' for input arguments of type 'cell'. Error...

set the height of the cell according to the height of the text content

ios,table,fonts,height,cell
I have a table containing dynamic cell. In each cell, I have textLabel and detailTextLabel. I would like to set the cell height equal to the sum of the height of the textLabel and detailTextLabel.This is my code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];...

Simple Enquiry with Complex Answer - How do I Select RowA6-Row(last non-blank) for a simple formula

excel,excel-vba,cell,calculated-columns,calculated-field
I have many columns all labeled with many many values underneath, which can be words or numbers Here is the current equation =INDEX(AK6:AK94,MODE(MATCH(AK6:AK94,AK6:AK94,0))) I have this on the in cell 5 of each column. The number of values in each column may increase or decrease. If i reference the entire...

Is it possible to link to a class method directly in cakephp 3?

hyperlink,cell,cakephp-3.0
We can generate a block of code using cells without appController interposition. Is it possible to have an html link to cell methods or other methods without appController interposition? Something like this: $this->Html->link('Show help' , ['controller'=>'Cell::help' , 'action'=>'show']); ...

Insert column with different values after binding DataGridView

datagridview,cell
I have a DataGridView: dgvPersonnelInfo.DataSource = personnelInfo; Now I add a column as follows: var arabicYear = new DataGridViewColumn(); arabicYear.Name = "arabicYear"; arabicYear.HeaderText = "Arabic Year"; arabicYear.CellTemplate = new DataGridViewTextBoxCell(); dgvPersonnelInfo.Columns.Insert(4, arabicYear); Then I want to assign the value of this cell as follows: for (int i = 0; i...

Matlab: Sort 2 cell matrices of strings

string,matlab,cell
I have 2 cell matrices of strings that I want to compare and sort in one. For example: Data1={'hello','daddy','mama';'0','55','60';'asd','','dwadsdwa'}; Data2={'cat','daddy','dog','cat','mama','daddy';'21','54','79','1','0','231';'sa','wda','thjd','gf','wda','sda'}; I want to compare the FIRST Row of the matrices and create a new result matrix with the matching elements and their collumns. Like: matches={'daddy','daddy','daddy','mama','mama';'55','54','231','60','0';'','wda','sda','dwadsdwa','wda'}; I tried with:...

ui-grid : directive as cellTemplate

angularjs,angularjs-ng-repeat,cell,angular-ui-grid
I'm using ui-grid with the following data structure : { name: String, tags: [{label: String, image: String}] } So the grid would have 2 columns : name and tags. A row entry can have multiple tags associated to it (hence the Array). Each tag has two properties : a label...

Set hidden data to uitableview cell

ios,objective-c,uitableview,cell
I sarched a bit here and on google, but I couldn't really find unearthing that I could clearly understand. Basically what I'd like to do is display a list of names, then when clicking on the table add the ID of those names to another array, along with their ID....

Update result based on many fields condition in excel

excel,field,row,cell
I currently have raw data as below OID Version Type RAW RESULT 6064 2842 154 failed 6064 2843 154 passed 6064 2844 154 failed 544448 837 154 failed 544448 838 154 failed 544448 839 154 passed 544448 840 154 failed 544448 841 154 failed I'd like to have following result...

find row indices of different values in matrix

matlab,find,row,cell,indices
Having matrix A (n*2) as the source and B as a vector containing a subset of elements A, I'd like to find the row index of items. A=[1 2;1 3; 4 5]; B=[1 5]; F=arrayfun(@(x)(find(B(x)==A)),1:numel(B),'UniformOutput',false) gives the following outputs in a cell according to this help page [2x1 double] [6]...

Something wrong when I select UITableViewCell?

ios,uitableview,cell
When I select a UITableViewCell the background become gray, the the gray height is strange. Some of the cell is strange like it.I set seperator line style to none. And I add labels to the front and foot cell ,so there are lines between cell.As is show In the first...

UITableView: automatically set height for the row and fix it with max height constant

swift,height,row,tableview,cell
I need automatically set the height for the row. I use theTable.estimatedRowHeight = 60 theTable.rowHeight = UITableViewAutomaticDimension but the height is not fixed. I need fixed height something like MAX 60 height, by default height is 40. With estimatedRowHeight the height is not fixed and when the string is long...

How to separate data from nested cells?

arrays,matlab,nested,cell,cell-array
I have a nested cell as given below A= {1x12 cell} {1x12 cell} {1x12 cell} {1x12 cell} {1x12 cell} I had tried A{:} for getting the data in the above cells and I obtain it as below ans = Columns 1 through 12 '1' '0' '1' '0' '1' '0' '0'...

WatchKit: vertical alignment in Table Cell

ios,table,cell,watchkit
I need to have one label above another, but if labels are inside of table view cell its impossible. Label at the bottom shifted to the right, just where label on top finishes. How to make them start from the the same X but different Y? Thanks in advance ...

Excel- update table with another table based on cell value

excel,table,copy,cell
after searching, I understand I can copy data into a table one at a time using VLOOKUP. However, is it possible to replace an entire table with another if a cell contains a certain value? for example, I have a table1. I want to replace table1 with table2 if cell...

Comparing Excel cell values and a userform Textbox

excel,vba,excel-vba,cell,userform
Ok, the problem is that im working in a excel userform, but i cannot find a way to do a comparation between a textbox value and a cell value and if some statement is meet it will write other value to another textbox (the program is has already been made...

Difference between cell, mesh and samples

data,graphics,cell,visualization,mesh
What is the difference between cell, mesh and samples from a graphics/Visualization point of view? I read a lot and I still cannot seem to figure out the difference between a cell and a mesh and how does that impact my samples?...

How to add a Cell programmatically to a DataGridView?

c#,datagridview,cell
I want to add an extra cell to each column created where its value is from the cells in each row. I have this code but doesn't work: i = 0; Double X1 = Convert.ToDouble(DGV_Points.Rows[i].Cells[6].Value); Double X2 = Convert.ToDouble(DGV_Points.Rows[i++].Cells[6].Value); Double LapLength = X1 - X1; this.DGV_Points.Rows.Add(); this.DGV_Points.Rows[0].Cells[1].Value = LapLength; this.DGV_Points.Rows[1].Cells[1].Value...

How to create single image from cell array of matrices in Matlab?

arrays,image,matlab,cell
I needed to split a grayscale image in equal parts so I used the function mat2cell. Then I had to equalize each of the parts separatelly, for this purpose I used the function histeq. I reused the same cell array variable for this. Here is the code: height=round(size(img,1)/number_of_divisions); length=round(size(img,2)/number_of_divisions); M=zeros(number_of_divisions,1);...

Edit data in the model according to the user's input in view-based NSTableView

osx,cocoa,cell,edit,nstableview
I have a view-based NSTableView where all the cells are editable. I need to refresh the data from the model every time the user modifies a textField from the view. All the doc I find is related to the cell-based NSTableView. Does anyone have a clue about this? EDIT: I'm...

VBA: access sheet from userForm

excel,vba,selection,cell,active
I am trying to access my workbook and sheets while I am in a subroutine of my UserForm. My macro starts when the focus in the worksheet is changed: Sub Worksheet_SelectionChange(ByVal Target As Range) '... End Sub In my UserForm, I now wanted to define what happens when the red...

UITableView reloadData not work

ios,uitableview,cell,reloaddata
this is my UITableView code in viewDidLoad self.audioHistoryTableView = [[UITableView alloc] init]; self.audioHistoryTableView.delegate = self; self.audioHistoryTableView.dataSource = self; table view #pragma mark - Table view data source - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { NSLog(@"numberOfRowsInSection"); NSLog(@"tableeeeeeee %lu",(unsigned long)[audioHistory count]); return [audioHistory count]; } - (UITableViewCell *)tableView:(UITableView *)tableView...

some text of my cells changes color when I scroll my tableview

ios,uitableview,colors,cell,changes
when I compile my code, i have no error and the result is good but when i scroll in my tableview some cells become in red color. the purpose is to display in red color all the taks which had passed the due date I think the problem is here...

Custom TableViewCell - this class is not key value coding-compliant for the key

ios,xcode,uitableview,cell
Im trying to use my custom cell but it doesnt work. Here's the error: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UITableViewCell 0x12ce3dcf0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key anmerkungLabel.' *** First throw call stack: (0x182fb259c 0x1937080e4 0x182fb2220 0x183dbdb10 0x187a305d0 0x182edf3c0 0x187b6f83c 0x1878a28dc...

Cell of grouped elements

matlab,cell,grouping
I have a linked list S with S(i)=s_i and S(i) is a non-negative integer number. I want a cell C=C{0+1},...C{max(S)+1} such that C{i+1}={i_1,...,i_k}, S(i_1)=...=S(i_k)=i and k is maximal. Example: S(1)=0,S(2)=0,S(3)=1,S(4)=2,S(5)=1,S(6)=2,S(7)=6, Then I should get C{0+1}={1,2}, C{1+1}={3,5}, C{2+1}={4,6}, C{3+1}={},...C{6+1}={7}, C{7+1}={} How can I do that as fast as possible in matlab...

How to combine numeric and text in an array smartly

arrays,matlab,matrix,double,cell
I have a numeric array which i wish to combine with a text array. TX = {'a' 'b' 'c'} NM = magic(30) combined = ([TX NM]) How can i manage to get the following new structure out of it: COMBI = a b c are in columns 1,2,3 and have...

SSRS Change cell color depending on SUM value

sql,if-statement,reporting-services,sum,cell
I am loading a dataset into my report and filling my last column with this expression: =Sum(Fields!ID.Value) and it loads fine, I am trying to put a condition in so when the number is less than 15 for example, the cell color will change to red. I have tried so...