[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63423] uitable cellselectioncallback does not
From: |
Liang Tang |
Subject: |
[Octave-bug-tracker] [bug #63423] uitable cellselectioncallback does not work in a user case |
Date: |
Sat, 26 Nov 2022 10:18:49 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63423>
Summary: uitable cellselectioncallback does not work in a
user case
Project: GNU Octave
Submitter: lt1234
Submitted: Sat 26 Nov 2022 03:18:47 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: lt1234
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 26 Nov 2022 03:18:47 PM UTC By: Liang Tang <lt1234>
uitable is a mechanism to work with excel worksheets. Bug report #63388 can
be looked at as displaying different worksheets on
a same uitable.
This report is about an issue detected from implementing a basic row operation
within a worksheet, given that the functionality
to add/delete uitable row/column is unavailable.
Octave uitable syntax follows an older version of matlab uitable that matlab
still supports. To detect the cell selection,
'cellselectioncallback' is the only method I know in this older syntax. A
user case below shows that, in this user case,
'cellselectioncallback' is not exercised when the cells of a row are selected.
Please use the steps below to illustrate
the issue at step (e). uitable_delete.m is attached.
(a)uitable_delete in command window
(b)click on 5 of the row name. All row 5 cells highlighted.
'cellselectioncallback' displays 'Row(s) 5 Selected' in command window.
(c)click on 3 of the row name. All row 3 cells highlighted.
'cellselectioncallback' displays 'Row(s) 3 Selected' in command window.
(d)click 'delete row' push button on the right of the figure. Row 3 is
deleted. Table contents below Row 3 move up.
(e)click on 3 of the row name. All row 3 cells highlighted but
'cellselectioncallback' displays nothing. 'cellselectioncallback' is not
exercised when the cells are highlighted/selected. <== THIS IS THE ISSUE
(f)(optional) click 'delete row' push button. Nothing happens because the
selected row is not defined by 'cellselectioncallback'.
(g)click on 3 of row name. All row 3 cells highlighted again but
'cellselectioncallback' still displays nothing. 'cellselectioncallback' is
not exercised.
(h)(optional) click delete row push button. Nothing happens because the
selected row is not active through 'cellselectioncallback'.
(i)click on any other row or any cell. Everything is back to normal. Then
click 3 of the row name. Row 3 works again.
Thanks,
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 26 Nov 2022 03:18:47 PM UTC Name: uitable_delete.m Size: 4KiB
By: lt1234
<http://savannah.gnu.org/bugs/download.php?file_id=54024>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63423>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #63423] uitable cellselectioncallback does not work in a user case,
Liang Tang <=