[X] I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
[X] This issue only relates to a single feature. I will open new issues for any other features.
Is your feature request related to a problem?
The Table widget keeps track of the current focus location, which helps with keyboard navigation. The Table keeps track of this separate from the Selected information.
By adding access to Current Focus, both reading it and a callback for when it updates, the cells can render whole row effects. For example, highlighting the row for very wide tables which otherwise would be difficult to visually distinguish.
Is it possible to construct a solution with the existing API?
No. The table stores this data as a private member, and Go prohibits access to it. The ScrollTo like functions allow limited access to write to the member, but there exists no way to read it.
Describe the solution you'd like to see.
I would like to see the Table structure to provide read access, and a callback function to signal when the value changes.
Checklist
Is your feature request related to a problem?
The Table widget keeps track of the current focus location, which helps with keyboard navigation. The Table keeps track of this separate from the Selected information.
By adding access to Current Focus, both reading it and a callback for when it updates, the cells can render whole row effects. For example, highlighting the row for very wide tables which otherwise would be difficult to visually distinguish.
Is it possible to construct a solution with the existing API?
No. The table stores this data as a private member, and Go prohibits access to it. The
ScrollTo
like functions allow limited access to write to the member, but there exists no way to read it.Describe the solution you'd like to see.
I would like to see the Table structure to provide read access, and a callback function to signal when the value changes.