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 <60105689+yordan-mitev@users.noreply.github.com>

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

Co-authored-by: Yordan <60105689+yordan-mitev@users.noreply.github.com>

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

---------

Co-authored-by: KB Bot <kb-bot@telerik.com>
Co-authored-by: Nadezhda Tacheva <Nadezhda.Tacheva@progress.com>
Co-authored-by: Nadezhda Tacheva <73842592+ntacheva@users.noreply.github.com>
Co-authored-by: Yordan <60105689+yordan-mitev@users.noreply.github.com>
@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
ntacheva and others added 3 commits October 18, 2024 15:58
Co-authored-by: Yordan <60105689+yordan-mitev@users.noreply.github.com>
Co-authored-by: Yordan <60105689+yordan-mitev@users.noreply.github.com>
Co-authored-by: Yordan <60105689+yordan-mitev@users.noreply.github.com>
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?

ntacheva and others added 2 commits October 25, 2024 15:09
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
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