Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
uitable show last row

Subject: uitable show last row

From: Martin

Date: 19 Mar, 2011 22:15:05

Message: 1 of 5

Hi,

I have a uitable in a GUI where data is added at the end of the last row.

If there are already many rows, I want to see the last row after adding it without having to scroll down.

Is there a way to do this programmatically?

thanks, martin

Subject: uitable show last row

From: Nasser M. Abbasi

Date: 19 Mar, 2011 22:36:25

Message: 2 of 5

On 3/19/2011 3:15 PM, Martin wrote:
> Hi,
>
> I have a uitable in a GUI where data is added at the end of the last row.
>
> If there are already many rows, I want to see the last row after adding it without having to scroll down.
>
> Is there a way to do this programmatically?
>
> thanks, martin

Does not look like this is supported, at least I tried on my matlab 2010a to find
such option, and could not.

May be in 2010b or in the new version of Matlab 2011a
which should be out by middle of this year this has changed.

--Nasser

Subject: uitable show last row

From: Martin

Date: 22 Mar, 2011 08:23:03

Message: 3 of 5

ah ok, thx for the answer

Subject: uitable show last row

From: Fred

Date: 6 Jun, 2014 21:24:10

Message: 4 of 5

I encountered the same problem. Any updates on whether this could be done (I'm using MATLAB 2013a)? Thanks.

Fred

"Nasser M. Abbasi" wrote in message <im3b5e$93j$1@speranza.aioe.org>...
> On 3/19/2011 3:15 PM, Martin wrote:
> > Hi,
> >
> > I have a uitable in a GUI where data is added at the end of the last row.
> >
> > If there are already many rows, I want to see the last row after adding it without having to scroll down.
> >
> > Is there a way to do this programmatically?
> >
> > thanks, martin
>
> Does not look like this is supported, at least I tried on my matlab 2010a to find
> such option, and could not.
>
> May be in 2010b or in the new version of Matlab 2011a
> which should be out by middle of this year this has changed.
>
> --Nasser

Subject: uitable show last row

From: Bruno Luong

Date: 7 Jun, 2014 11:05:13

Message: 5 of 5

"Fred" wrote in message <lmtbhq$7al$1@newscl01ah.mathworks.com>...
> I encountered the same problem. Any updates on whether this could be done (I'm using MATLAB 2013a)? Thanks.
>
> Fred

You might use a tool in FEX to have better control of UITABLE.
 
% http://www.mathworks.com/matlabcentral/fileexchange/14317-findjobj-find-java-handles-of-matlab-graphic-objects

h = uitable('Data',magic(20))
j = findjobj(h);
s = j.VerticalScrollBar;
set(s,'Value',get(s,'Height'))

% Bruno

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us