[PR #802] Grid items can be cleared after the given index #1045

Open
opened 2026-03-04 01:09:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/802
Author: @vendelin8
Created: 1/28/2023
Status: 🔄 Open

Base: masterHead: grid-clear


📝 Commits (1)

  • a26f30f Grid items can be cleared after the given index

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 grid.go (+9 -0)

📄 Description

I'd like to use grid as a table having the first n items headers. So every time I want to load new content to it, I can remove the rest after the headers and fill it up with new widgets.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rivo/tview/pull/802 **Author:** [@vendelin8](https://github.com/vendelin8) **Created:** 1/28/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `grid-clear` --- ### 📝 Commits (1) - [`a26f30f`](https://github.com/rivo/tview/commit/a26f30f1a647d01da0d17c8ef10f7bddd415c7d9) Grid items can be cleared after the given index ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `grid.go` (+9 -0) </details> ### 📄 Description I'd like to use grid as a table having the first n items headers. So every time I want to load new content to it, I can remove the rest after the headers and fill it up with new widgets. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#1045
No description provided.