"row column to range format.vi"
Hello,
When I try to run my program, I cannot find the row column to range format.vi in the excelexamples.llb. I must not have saved th vi. I was unable to find it in the llb now. What can I do?
CLD Certified 2014
I found it here: http://zone.ni.com/devzone/cda/epd/p/id/3756
Similar Messages
-
I have a numbers spreadsheet for tracking company data. I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year. How do I do that?
click and hold on one cell, then drag to select the range, then release, then type the delete key. Only inlude cells in the range you do not want to keey the contents of the cell. You can remove one-off cells by holding the command key and clicking cells to add or remove as needed.
You can download the Numbers users guide here:
http://support.apple.com/manuals/#productivitysoftware -
Formatting the total row column for a OATableBean
Hi,
I have an OATableBean with total row column.
I need to format one column and it's total value as 28,861.972528.
I used both codes below:
1-
Formatter formatter = new OADecimalValidater("###,###,##0.00000;-###,###,##0.00000", "###,###,##0.00000;-###,###,##0.00000");
OAMessageStyledTextBean unitBean = (OAMessageStyledTextBean)webBean.findChildRecursive("UnitLandedCost");
if(unitBean != null)
unitBean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter);
2-
DictionaryData unitBeanFormat = (oracle.cabo.ui.data.DictionaryData)tableColumnFormats.getItem(pageContext.findChildIndex(tableBean, "UnitLandedCost"));
f(unitBeanFormat != null)
unitBeanFormat.put(ON_SUBMIT_VALIDATER_ATTR, formatter);
Both codes worked for the values, but the total value was not formatted in both cases. I tried to use the code below to get the column Footer, but the tableFooterBean is null:
OATableFooterBean tableFooterBean = (OATableFooterBean)tableBean.getColumnFooter();
Is there anything else that should be done to format the total value?
Thanks and Regards,
AndreaAs Tapash mentioned getTotalValues method will work. Another option can be to calculate the total value based on the rows of VO but that won't be required unless you are looking for Grand Total functionality.
--Shiv -
How to read and write data in to a specified range of cells(it include multiple row & columns) in excel
CVI Comes with a sample project that explains how to read/write to a Excel file: choose "Explore examples..." in CVI welcome page and navigate to <cviSampleDir>\activex\excel folder where you can load excel2000dem.prj.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
In the old version of Numbers (09) as well as in the same Pages version I could choose to allow to mark single lines inbetween rows/columns in order to choose to create different types of lines to mark separations in different sections or just single cells within a table, how do I do that in the recent upgrade?!!! I´m going mad over here!!!!!
Hi A-S,
Do you mean Cell Borders in the Format Panel?
To create this?
Or if you want borders under only A5 and C5 (but not B5) command click on those cells to select them before applying the borders in Format Panel
Regards,
Ian. -
Issue with row/column text lengths in report painter
Hi Gurus,
I have created a report painter report with formatting of the row/column length text as medium, but for one FS item/GL Account the report when executed still picks up only the short text length. I am not sure how this can be resolved.
Any ideas is appreciated.
Regards
SatishApplied OSS Note 360096 and it worked. Thanks for all your help.
-
Column and table formatting challenges
Am switching form microsoft word to pages and experiencing some challenge:
1.
how do I format specific text only to be in 2,3 or 4 columns but not the entire page?
2.
how do I insert a table in a table cell, or text box in a table cell, or if that's possible how do I format specific text in a table cell (not everything) to display over 2 columns? I remember doing all of this formatting manually back in the days of wordstar for DOS, and pages 09 ought to offer some improvement I would hope.sgendry wrote:
Am switching form microsoft word to pages and experiencing some challenge:
1. how do I format specific text only to be in 2,3 or 4 columns but not the entire page?
+Menu > Insert > Layout Break+
…before and after the change
2. how do I insert a table in a table cell,
Can't
or text box in a table cell
Can't
or if that's possible how do I format specific text in a table cell (not everything) to display over 2 columns?
Click in a cell:
+Inspector > Table > Table > Edit Rows & Columns > Split row/Column+
I remember doing all of this formatting manually back in the days of wordstar for DOS, and pages 09 ought to offer some improvement I would hope.
You can use tabs. Pages is mostly simpler than Word, with some extra features, and a whole lot cheaper. There is some comfort that Pages can do things that Word can't and in some cases, not all, do the same tasks simpler.
Peter -
How to Transpose series of rows & columns to singular inline column?
Hi gang!
Looking to do the reverse of my previous post (here: http://discussions.apple.com/message.jspa?messageID=9355192#9355192).
Specifically, looking to transpose from many rows & columns to 1 inline column...
from:
A1 A2 A3 A4 A5 A6 A7
B1 B2 B3 B4 B5 B6 B7
to:
A1
A2
A3
A4
A5
A6
A7
B1
B2
B3
B4
B5
B6
B7
For a whole set of data (over 330 rows of 7 columns)!
A function for doing the inverse was graciously provided in the previous post, but am stuck as to how to reverse it!
Previous (from 1 column to many):
INDEX(TRANSPOSE('Table_Src' :: B2:H2),7,1*(ROW()-2)+COLUMN()-1)
becomes... (from many to 1 column)
Anyone with ideas? Found the Function guide only more confusing! :OI would use this simple script:
--[SCRIPT] on run
set {rname, tName, sName, dName, colNum1, rowNum1, colNum2, rowNum2} to my getSelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
set liste to {}
repeat with r from rowNum1 to rowNum2
repeat with c from colNum1 to colNum2
copy value of cell r of column c to end of liste
end repeat
end repeat
end tell
set liste to my recolle(liste, return)
set the clipboard to liste
end run
--=====
on getSelParams()
local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
set {r_Name, t_Name, s_Name, d_Name} to my getSelection()
if my parleAnglais() then
if r_Name is missing value then error "No sheet has a selected table."
else
if r_Name is missing value then error "Aucune feuille ne contient une table sélectionnée."
end if
set two_Names to my decoupe(r_Name, ":")
tell application "Numbers" to tell document d_Name to tell sheet s_Name to tell table t_Name
set col_Num1 to address of column of cell (item 1 of two_Names)
set row_Num1 to address of row of cell (item 1 of two_Names)
if item 2 of two_Names = item 1 of two_Names then
set {col_Num2, row_Num2} to {col_Num1, row_Num1}
else
set col_Num2 to address of column of cell (item 2 of two_Names)
set row_Num2 to address of row of cell (item 2 of two_Names)
end if
end tell -- _Numbers …
return {r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2}
end getSelParams
--=====
set {r_Name, t_Name, s_Name, d_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theRange, theTable, theSheet, theDoc}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on recolle(l, d)
local t
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to ""
return t
end recolle
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
--[/SCRIPT]
Select the range to transpose
Run the script
paste where you want.
Yvan KOENIG (from FRANCE lundi 4 mai 2009 15:17:08) -
Right way to change datagrid row, column, cells background colors in code-behind?
Hi all,
I have a winform program that I'm upgrading to wpf (I'm new to wpf). The wpf code for the function (SetdataGridBackgroundColors()) is below with the winform code commented out so I can fix it. I have a datagrid with a Cornsilk background color alteranating
with LightGreen depending on the content of datetime cell. If the day portion of the datetime is different then the color changes from one to the other. I used a colorIndex variable because at the end of the month it could go from 31 to 1 and that would
not work if I use the day directly.
I tried this line to change the background color:
optionsDataDatagrid.RowBackground = new SolidColorBrush(Colors.Cornsilk);
this works but it changes every row. I found this other stuff:
DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromIndex(i) as DataGridRow;
//DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromItem(optionsDataDatagrid.Items[i]) as DataGridRow;
currentRowColor.Background = new SolidColorBrush(Colors.Cornsilk);
Either ContainerFromIndex or ContainerFromItem throw an exception because currentRowColor is null. I looked at optionsDataDatagrid.Items[i] and is not null. Then I read that using ItemContainerGenerator is not a good idea.
BTW I'm calling SetdataGridBackgroundColors() after datagrid is been filled with data.
So... what is the proper way to set each row, column or cell background color in wpf?
Thanks
private void SetdataGridBackgroundColors()
optionRowData rowData = new optionRowData();
if (optionsDataDatagrid.Items.Count == 0)
return;
int colorIndex = 1;
DateTime savedDate, currentRowDate;
rowData = optionsDataDatagrid.Items[0] as optionRowData;
savedDate = rowData.col_datetime.Date; //only compare the date not the time
for (int i = 0; i < optionsDataDatagrid.Items.Count; i++)
//currentRowDate = Convert.ToDateTime(optionsDataDatagrid.Rows[i].Cells[3].Value); //winform code
//currentRowDate = currentRowDate.Date; //winform code
rowData = optionsDataDatagrid.Items[i] as optionRowData;
currentRowDate = rowData.col_datetime.Date;
if (currentRowDate != savedDate)
colorIndex++;
savedDate = currentRowDate;
if (colorIndex % 2 == 0)
//optionsDataDatagrid.Rows[i].DefaultCellStyle.BackColor = Color.Cornsilk;
//------------------- testing new code --------------begin
optionsDataDatagrid.RowBackground = new SolidColorBrush(Colors.Cornsilk); //this changes all rows
//DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromIndex(i) as DataGridRow;
//DataGridRow currentRowColor = optionsDataDatagrid.ItemContainerGenerator.ContainerFromItem(optionsDataDatagrid.Items[i]) as DataGridRow;
//currentRowColor.Background = new SolidColorBrush(Colors.Cornsilk);
//------------------- testing new code --------------end
//optionsDataDatagrid.Columns[4].DefaultCellStyle.BackColor = Color.DarkSalmon;
//optionsDataDatagrid.Columns[5].DefaultCellStyle.BackColor = Color.Aquamarine;
//optionsDataDatagrid.Rows[i].Cells[4].Style.ApplyStyle(optionsDataDataGridView.Columns[4].DefaultCellStyle);
//optionsDataDatagrid.Rows[i].Cells[5].Style.ApplyStyle(optionsDataDataGridView.Columns[5].DefaultCellStyle);
else
//optionsDataDatagrid.Rows[i].DefaultCellStyle.BackColor = Color.LightGreen;
//------------------- testing new code --------------begin
optionsDataDatagrid.RowBackground = new SolidColorBrush(Colors.LightGreen); //this has no effect
//------------------- testing new code --------------end
//optionsDataDatagrid.Columns[4].DefaultCellStyle.BackColor = Color.Coral;
//optionsDataDatagrid.Columns[5].DefaultCellStyle.BackColor = Color.LimeGreen;
//optionsDataDatagrid.Rows[i].Cells[4].Style.ApplyStyle(optionsDataDataGridView.Columns[4].DefaultCellStyle);
//optionsDataDatagrid.Rows[i].Cells[5].Style.ApplyStyle(optionsDataDataGridView.Columns[5].DefaultCellStyle);I (also) strongly recommend mvvm.
Setting values is a particularly bad idea in this case.
I don't mean to be rude but your explanation of the requirement is kind of vague.
I would bind solidcolourbrushes.
Set the properties based on whatever your logic is within the viewmodel.
You can switch out what each of the brushes holds when the user clicks wherever.
So you use a highlightbrush when something or other is true.
That highlightbrush is set to a blue brush when the user clicks left and a red brush when they click right.
Please don't forget to upvote posts which you like and mark those which answer your question.
My latest Technet article - Dynamic XAML -
How to get a single row column from a viewobject in java?
I have a class file that goes out and gets a viewobject and sets its where clause
this is it:
vcRow = vc.createViewCriteriaRow();
vcRow.setAttribute("LogonId", "='" + strPcis_Login.toUpperCase() + "'");
vc.addElement(vcRow);
vo.applyViewCriteria(vc);
vo.executeQuery();
I know this working cause I can watch it in debug..
but now the problem.
I've looked in the docs and don't see how one can pull the value of the row it found and place it in a uix page in a textinput area
how can I get a single row column, in this case the UserName that is in the view object to a string and then place it into my
uix page? I've looked and looked and don't see a method for this.
is there a way to take the oracle.cabo.servlet.Page and set a textinput with a viewobject get method?
what way do you do this and where is it documented?is there a way to take the oracle.cabo.servlet.Page and set a textinput with a viewobject get method?
what way do you do this and where is it documented? What you can do is get the value from your VO and set it somewhere that UIX can data bind to -- as a Page proprety, on HttpSession, etc. This is documented in Chapters 4 (Data Binding) and 5 (Controller) of the UIX Developer's Guide.
To set a property, you use Page.setProperty(String key, String value). Then, in your UIX file, to make a textInput that has the value pulled from a given page property, use:
<textInput data:text="key@ctrl:page" />
-brian
Team UIX -
How to get the selected rows & columns in the table?
hi everybody,
In my application the table is kept inside the event structure.I select the cells in the table (using mouse) on running time.How to get the selected number of rows & columns in that table?Hello,
You can fill selected values of the table by writing to it or the corresponding property using a property node - the table is just a 2D array of strings. I think for your "disable" question you are referring to the shortcut menu (when you right click). If you are using LabVIEW 8.x, you can edit or disable that shortcut menu - just right click on your table at edit time and choose Advanced >> Run-Time Shortcut Menu.
Best Regards,
JLS
Best,
JLS
Sixclear -
How to print the row ,column,and particular cell in separate color
how to print the row ,column,and particular cell in separate color IN ALV GRID
HI,
Here you go good program links
<a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
<a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
Thanks
Mahesh -
How can I write into a table cell (row, column are given) in a databae?
How can I write into a table cell (row, column are given) in a database using LabVIEW Database Toolkit? I am using Ms Access. Suppose I have three columns in a table, I write 1st row of 1st column, then 1st row of 3rd column. The problem I am having is after writing the 1st row 1st column, the reference goes to second row and if I write into 3rd column, it goes to 2nd row 3rd column. Any suggestion?
Solved!
Go to Solution.When you do a SQL INSERT command, you create a new row. If you want to change an existing row, you have to use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column=some_value). The some_column could be the unique ID of each row, a date/time, etc.
I have no idea what function to use in the toolkit to execute a SQL command since I don't use the toolkit. I also don't understand why you just don't do a single INSERT. It would be much faster. -
How do i set the background of the table( not of cell / row / column).
How do i set the background of the table( not of cell / row / column).
What happens when i load the applet the table is blank and displays the background color is gray which we want to be white.
We tried using the setBackGround but it is not working maybe we are not using it properly. Any help would be gr8.
Thanks in advance.I don't understand very well, but i guess that the background is gray when the table content's empty, isn't it?
When the table model is empty, the JTable doesn't paint, so its container displays its background (often gray).
In this case, what you must do is force the table to paint, even if the model is empty. So, you have to create your own table and override three methods :
public class MyTable extends JTable
//specify the preferred and minum size when empty
myPreferredWidth = 200;
myPreferredHeigth =200;
myMinimunWidth = ...;
myMinimunHeigth = ...;
public Dimension getPreferredSize()
if(getModel().getRowCount() < 1)
return new Dimension(myPreferredWidth, myPreferredHeigth);
else
return super.getPreferredSize();
public Dimension getMinimumSize()
if( getModel().getRowCount() > 0)
return new Dimension(myMinimunWidth, myMinimunHeigth);
else
return super.getMinimumSize();
protected void paintComponent(Graphics g)
if (getModel().getRowCount<1 && isOpaque()) { //paint background
g.setColor(Color.white);
g.fillRect(0, 0, getWidth(), getHeight());
else super.paintComponent(g);
} -
Duplicating MovieClips into Rows & Columns
Hi People,
I am creating a project, which is a dynamic image gallery,
wherein the images are loaded from an XML file. I am looking to
create the thumbnails as rows & columns, based on the total
number of images.
I am able to duplicate the movieclips in rows & columns,
if I define the number of rows & columns, but don't know how to
do this at runtime, depending on the total number of images.
Let's say I have 12 images, so the resulting grid should be
like the one shown below:
Can anybody please help, this is really urgent, and I losing
my head over this
Thanks to all in advance.
Cheers,
Husain//upper left corner of image grid
var colStart = 30;
var rowStart = 30;
var imagesPerColumn = 5;
var colCount = 0;
//width and height of thumbs plus any buffer space between
them
var colWide = 50;
var rowHigh = 50;
//starting depth of new clips
var deep = 5;
for (var i = 0; i < 12; i++) {
thisImage = this.attachMovie("thumb", "thumb" + i, deep + i,
{_x:colStart +
(colCount * colWidth), _y:rowStart});
colCount++;
if (colCount + 1 > imagesPerColumn) {
colCount = 0;
rowStart += rowHigh;
This should get you going - just replace the 12 in the for
loop with your
array length. I used attachMovie to attach a thumb clip from
the library but
you can duplicate instead.
HTH, let me know if you need more explanation.
Dave -
Adobe Community Expert
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/
Maybe you are looking for
-
Why do I have a corrupted export?
I am getting a corrupt photo every time I export a file in Aperture. It is adding another photo to all the exported photos -> http://home.twcny.rr.com/jhpphotos/1.jpg He's a cute puppy, but I don't want him in my London & Paris pics! I have the lates
-
Images will not display on Export to PDF
I have a BOXi Web Intelligence Document that displays two images that are 7kb each. The Text for one of the objects is set to: http://cpolrhp.belvoir.army.mil/eur/images/CHRA_Logo.gif That object is set to read the text as: Image URL The images displ
-
How does the MRP Group determine the Requirement Type
Hello, I find in help that the MRP Group or the Strategy Group in the MRP view of the material master record determines what Requirement Type is used. Could you please tell me in which table / transaction can I find the assignment of Requirement Type
-
While I tried to run already existing adobe AIR application in Flex Builder3 using Flex SDK4. I got this error VerifyError: Error #1053: Illegal override of z in mx.core.UIComponent in adobe flex please anyone help me to solve it
-
MRP to be run for those materials that is assigned to the MRP controller
Dear Gurus, Pl. let me know how MRP can be run for materials assigned to the MRP controller only. Regards Veronica