Rearrangeable Rows in UItable?

  • Follow


You can have rearrangeable columns, but not rows?  Am I missing some easy way to do this?
0
Reply Andy 1/3/2011 8:15:24 PM

"Andy" wrote in message <iftaos$guc$1@fred.mathworks.com>...
> You can have rearrangeable columns, but not rows?  Am I missing some easy way to do this?

Can you be more specific?  An example perhaps?

Without any more info I suggest that the transpose operator (') is your friend.

Many of these kind of MATLAB functions also have optional 'rows' or 'columns'
inputs.

Again, a short example would help.
0
Reply someone 1/3/2011 8:42:06 PM


I suppose a short example would be:

    f=figure;
    t=uitable(f,'Data',rand(5,5),'RearrangeableColumns','on');

There's no corresponding RearrangeableRows property of the uitable.  
0
Reply Andy 1/3/2011 8:51:20 PM

"Andy" wrote in message <iftcs8$5ir$1@fred.mathworks.com>...
> I suppose a short example would be:
> 
>     f=figure;
>     t=uitable(f,'Data',rand(5,5),'RearrangeableColumns','on');
> 
> There's no corresponding RearrangeableRows property of the uitable.  


There is no easy way to do this. The ability to reorder columns is a capability of jtables, but there is no corresponding capability for rows. In general, jtables treat columns and rows very differently. There are lots of things you can do to columns that you can't do to rows. 
0
Reply matt 1/11/2011 5:17:08 PM

3 Replies
183 Views

(page loaded in 0.07 seconds)

Similiar Articles:






7/11/2012 6:23:54 PM


Reply: