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

QuickGrid: Add EventCallback<TGridItem> for clicking on a row. #44899

Open
1 task done
Drake53 opened this issue Nov 5, 2022 · 13 comments · May be fixed by #55851
Open
1 task done

QuickGrid: Add EventCallback<TGridItem> for clicking on a row. #44899

Drake53 opened this issue Nov 5, 2022 · 13 comments · May be fixed by #55851
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-builtin-components Features related to the built in components we ship or could ship in the future feature-blazor-quickgrid help candidate Indicates that the issues may be a good fit for community to help with. Requires work from eng. team
Milestone

Comments

@Drake53
Copy link

Drake53 commented Nov 5, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I'd like to handle the event where a user clicks on a row in a QuickGrid. When this happens I'd use NavigationManager.NavigateTo() to go to the selected item's page.

Describe the solution you'd like

In QuickGrid.razor.cs: add a property '[Parameter] public EventCallback'.
In QuickGrid.razor RenderRow(RenderTreeBuilder, int, TGridItem): add @OnClick to the that invokes the above EventCallback.

Additional context

No response

@TanayParikh TanayParikh added the area-blazor Includes: Blazor, Razor Components label Nov 7, 2022
@javiercn javiercn added the feature-blazor-builtin-components Features related to the built in components we ship or could ship in the future label Nov 7, 2022
@javiercn javiercn added this to the Backlog milestone Nov 7, 2022
@ghost
Copy link

ghost commented Nov 7, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@VaclavElias
Copy link

VaclavElias commented Mar 14, 2023

I would also suggest to add @onclick to PropertyColumn itself, so we can quickly add click functionality without using TemplateColumn.

@danroth27 danroth27 added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label May 16, 2023
@codingrecluse
Copy link

codingrecluse commented Aug 29, 2023

Hello, are you open to input from the community on this?
I am currently working with a fork to create a QuickGrid version that has row/column selection features, resizeable/draggable columns, etc. and I thought maybe I could contribute those features outright or at very least the parts that pertain to this, and #45477
Right now I have individual and multi-selection of rows and columns working (with the exception of the shift key (wip)) .

@mkArtakMSFT mkArtakMSFT modified the milestones: Backlog, BlazorPlanning Nov 5, 2023
@JoshElias
Copy link

@codingrecluse I've taken a look at your fork. I really like your modifications! I'm primarily interested in defining a listener for an entire row which I think you've implemented. Would you be able to help me forking your fancygrid package and creating my own QuickGrid nuget package? I'd like to build my own so I can control the .NET version dependency.

@mkArtakMSFT mkArtakMSFT modified the milestones: Planning: WebUI, Backlog Nov 20, 2023
@mkArtakMSFT mkArtakMSFT added the help candidate Indicates that the issues may be a good fit for community to help with. Requires work from eng. team label Nov 20, 2023
@dotnet dotnet deleted a comment Nov 20, 2023
@mihaimyh
Copy link

Any updates on this issue, an onclick event on a row will be really useful for our use-case also.

@VaclavElias
Copy link

I believe that an onclick row feature should be considered as a standard feature like other current QuickGrid features and shouldn't be moved further in the backlog.

If the suggested implementation is ok, please release it in the next .NET 8 patch or ask for further elaboration so we can help with this feature.

@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 13, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 13, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 13, 2024
@KurinchiA
Copy link

Hello, are you open to input from the community on this? I am currently working with a fork to create a QuickGrid version that has row/column selection features, resizeable/draggable columns, etc. and I thought maybe I could contribute those features outright or at very least the parts that pertain to this, and #45477 Right now I have individual and multi-selection of rows and columns working (with the exception of the shift key (wip)) .

@codingrecluse I am interested in knowing how you are approching the row select. Is it possible to provide access to your fork? Thanks.

@ecospecifier
Copy link

This is so annoying! wow. Ended up rolling my own table component in blazor, this quickgrid package is a disgrace.

@Baklap4
Copy link

Baklap4 commented May 22, 2024

Any update on this?

@Laftek
Copy link

Laftek commented May 23, 2024

Any update?

@Molochnikov
Copy link

Any update?

@mhdcindioglu
Copy link

Any updates?

@KristofferBerge
Copy link

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-builtin-components Features related to the built in components we ship or could ship in the future feature-blazor-quickgrid help candidate Indicates that the issues may be a good fit for community to help with. Requires work from eng. team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

17 participants