question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some considerations about the tableview

See original GitHub issue

When any number greater or less(0) than the maximum number of pages is entered into the Entry index. Currently loads an empty page, it would be better to load the first page. Because the input index is changed to 1


It would also be nice that whenever the information is loaded in the treeview or when moving to the next page, the first row is selected. And when returning to the previous page, the last line would be selected. This facilitates external automations


Striped lines would by default have better contrast in all themes (even, odd and selected lines). I made a few tries and I think these color options are good for all themes. I tried using the Api colors, I just needed to include an extra color #f3f3f3

        lst_dark_themes = ['solar', 'superhero', 'darkly', 'cyborg', 'vapor']
        if self.data['theme'] in lst_dark_themes:
            cst_striped = (self.style.colors.bg, self.style.colors.inputfg)
        else:
            if self.data['theme'] == 'morph':
                cst_striped = (self.style.colors.border, self.style.colors.fg)
            else:
                cst_striped = ('#f3f3f3', self.style.colors.inputfg)

See the example with the colors mentioned: https://www.mediafire.com/file/hrc8rjdmvekpn3x/striped_rows.mp4/file


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
israel-dryercommented, Jan 7, 2022

@antrrax, I found the bug for that page number issue and and updating this in the next release.

1reaction
israel-dryercommented, Jan 7, 2022

I’m adding an ‘active’ color which is either the default or ‘active’ color in the bootstyle table header section for each theme. https://bootswatch.com/darkly/

I’m going to modify the logic so that stripecolor=None will result in no stripes as usual, however, passing in a tuple (None, None) will result in default colored table stripes, where “None” is the default color for either the background or foreground.

image image
Read more comments on GitHub >

github_iconTop Results From Across the Web

Table View Guide | CodePath iOS Cliffnotes
This guide covers typical use cases and common issues that arise when using UITableViews . All our examples are provided in Swift, but...
Read more >
Table view cell issues | Apple Developer Forums
When you register a class for the table cell view, that means cells are created by instantiating the class, and that would mean...
Read more >
The Most Common Issues I've Caught Reviewing iOS Apps
1. UITableView (and UICollectionView) · Misunderstanding Section Headers · Confronting CellForRowAtIndexPath · Let Cells Do Their Job.
Read more >
A Better Architecture to Implement Forms in iOS Applications
How to implement a clean and maintainable Form Architecture with UITableView.
Read more >
Table view issues in swift iOS - Stack Overflow
I am trying to create a table view in which it has list of dishes with sections and when we select a row...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found