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

KB Grid handle empty popup footer #2445

Open
wants to merge 6 commits into
base: production
Choose a base branch
from

Conversation

ntacheva
Copy link
Contributor

No description provided.

* Added new kb article grid-handle-empty-popup-footer

* chore(Grid): polish article and add links

* Update knowledge-base/grid-handle-empty-popup-footer.md

Co-authored-by: Yordan <[email protected]>

* Update knowledge-base/grid-handle-empty-popup-footer.md

Co-authored-by: Yordan <[email protected]>

* Update knowledge-base/grid-handle-empty-popup-footer.md

---------

Co-authored-by: KB Bot <[email protected]>
Co-authored-by: Nadezhda Tacheva <[email protected]>
Co-authored-by: Nadezhda Tacheva <[email protected]>
Co-authored-by: Yordan <[email protected]>
@ntacheva ntacheva self-assigned this Oct 17, 2024
@ntacheva ntacheva requested a review from a team as a code owner October 17, 2024 15:25
Comment on lines +39 to +42
* [Option 1: Display Custom Buttons in the Footer](#option-1-display-custom-buttons-in-the-footer)
* [Option 2: Remove the Footer and Keep the Buttons in the FormTemplate](#option-2-remove-the-footer-and-keep-the-buttons-in-the-formtemplate)

### Option 1: Display Custom Buttons in the Footer
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the numbering?

Comment on lines +133 to +154
public List<Person> People
{
get
{
if (_people == null)
{
_people = GeneratePeople(30);
}

return _people;
}
}

protected override void OnInitialized()
{
LoadData();
}

private void LoadData()
{
GridData = GetPeople();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks over-engineered. Why not generate the data in OnInitialized and forget about it?

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.

4 participants