Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Overriding table on grid #1695

Merged
merged 3 commits into from
Nov 9, 2021
Merged

Allow Overriding table on grid #1695

merged 3 commits into from
Nov 9, 2021

Conversation

ibelar
Copy link
Contributor

@ibelar ibelar commented Nov 9, 2021

Add Grid::initTable() method.

src/Grid.php Outdated
@@ -142,6 +142,14 @@ protected function init(): void
$this->issetApp() ? $this->getApp()->stickyGet('_q') : $this->stickyGet('_q');
}

protected function initTable(): Table
{
/** @var Table $table */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** @var Table $table */
/** @var Table */

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@mvorisek mvorisek merged commit 7f9dcb2 into develop Nov 9, 2021
@mvorisek mvorisek deleted the fix-table-overriding branch November 9, 2021 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants