|
|
How to set column format for only one column in uitable
Hi,
I am starting programming in MatLab. I need change format in one column (the last) of my uitable to choise list, but I don't know how many columns this table can have, because it will be declared by user.
I wanted use code like this, but it is only for known number of columns:
set(table,'ColumnFormat',{'numeric', 'numeric',{'A' 'B' 'C'}});
set(table,'ColumnEditable',[false false true]);
Question is: How can I set only column format of last column ?
Thank you for your help.
PS: Sorry, but my english is not so good.
|
|
0
|
|
|
|
Reply
|
Evzen
|
12/31/2010 9:59:06 PM |
|
On 31/12/10 3:59 PM, Evzen Brusle wrote:
> I am starting programming in MatLab. I need change format in one column
> (the last) of my uitable to choise list, but I don't know how many
> columns this table can have, because it will be declared by user.
> I wanted use code like this, but it is only for known number of columns:
> set(table,'ColumnFormat',{'numeric', 'numeric',{'A' 'B' 'C'}});
> set(table,'ColumnEditable',[false false true]);
>
> Question is: How can I set only column format of last column ?
Why not get() the current ColumnFormat and ColumnEditable, change the
last entries to what you want, and set() those properties back ?
|
|
0
|
|
|
|
Reply
|
Walter
|
1/1/2011 5:25:42 PM
|
|
|
1 Replies
1017 Views
(page loaded in 0.045 seconds)
Similiar Articles: How to set column format for only one column in uitable - comp ...Hi, I am starting programming in MatLab. I need change format in one column (the last) of my uitable to choise list, but I don't know how many column... selection problem for checkboxes in uitable - comp.soft-sys.matlab ...Hi all, I have a uitable with two columns: an editable one with checkboxes and a non-editable column ... How to set column format for only one column in uitable - comp ... ... Matlab 7 uitable questions - comp.soft-sys.matlabHow to set column format for only one column in uitable - comp ... Matlab 7 uitable questions - comp.soft-sys.matlab How to set column format for only one column in ... Column width - comp.lang.awkHow to set column format for only one column in uitable - comp ... Column width - comp.lang.awk Each report has numerous columns and the width of each column is currently ... How to change length of a num column - comp.soft-sys.sas ...How to transpose selected rows into columns and sort by one column ... Hi, I ... add the row number as a column of the ... to set column format for only one column in uitable ... programatically select cells in uitable - comp.soft-sys.matlab ...How to set column format for only one column in uitable - comp ..... need change format in one column (the last) of my uitable ... databases.ibm-db2 Jan's Excel Intro ... searching on a datetime column, how? - comp.databases.mysql ...concatenate by columns - comp.lang.idl-pvwave searching on a ... How to set column format for only one column in uitable - comp ... COMPGROUPS.NET | Search | ... question for a column of ps reporting - comp.unix.adminRe: Creating one report with columns based on different subsets ... ... How to set column format for only one column in uitable - comp ... question for a column of ps ... How to set a format in JFormattedTextField? - comp.lang.java ...How to set column format for only one column in uitable - comp ... reformatting data from rows to columns..... - comp.soft-sys.sas ... How to set column format for only ... reformatting data from rows to columns..... - comp.soft-sys.sas ...How to set column format for only one column in uitable - comp ... reformatting data from rows to columns..... - comp.soft-sys.sas ... How to set column format for only ... How to set column format for only one column in uitable - comp ...Hi, I am starting programming in MatLab. I need change format in one column (the last) of my uitable to choise list, but I don't know how many column... Tables in MATLAB with uitable | MATLAB Spoken HereColumns – set column names, format, size, and editability; Rows – set row ... Is it possible to show the Data in a uitable centered? The data format in my uitable are only ... 7/22/2012 8:09:36 AM
|
|
|
|
|
|
|
|
|