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

DrawerMode seems still not in place, is there any plan? #3578

Closed
cairabbit opened this issue May 26, 2024 · 5 comments · Fixed by #3588
Closed

DrawerMode seems still not in place, is there any plan? #3578

cairabbit opened this issue May 26, 2024 · 5 comments · Fixed by #3588
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cairabbit
Copy link
Collaborator

          @cairabbit Thank you very much for your suggestion.

AddTemplate

We can add a new template AddTemplate

SearchMode

https://www.blazor.zone/table/search#CustomerSearchModel

<Table TItem="Foo" CustomerSearchModel="@CustomerSearchModel" ShowSearch="true">
    <TableColumns>
        <TableColumn @bind-Field="@context.DateTime" Width="180" />
    </TableColumns>
    <CustomerSearchTemplate>
        @if (context is FooSearchModel model)
        {
            <FooSearch @bind-Value="@model" />
        }
    </CustomerSearchTemplate>
</Table>

Separate table

This component library has been around for over four years now, and it is very difficult to separate tables. Many old users find it difficult to accept this change

Drawer Mode

This is a good idea. We should implement this model

public enum EditMode
{
    /// <summary>
    /// 弹窗式编辑模式
    /// </summary>
    Popup,

    /// <summary>
    /// 行内编辑模式
    /// </summary>
    EditForm,

    /// <summary>
    /// 单元格内编辑模式
    /// </summary>
    InCell,

    /// <summary>
    /// 抽屉编辑模式
    /// </summary>
    Drawer
}

Originally posted by @ArgoZhang in #2867 (comment)

Copy link

bb-auto bot commented May 26, 2024

@cairabbit Thank you for reporting. We will give triage later.

@bb-auto bb-auto bot added the triage Triage the issue late label May 26, 2024
@bb-auto bb-auto bot added this to the v8.5.0 milestone May 26, 2024
@cairabbit cairabbit changed the title DrawMode seems still not in place, is there any plan? DrawerMode seems still not in place, is there any plan? May 26, 2024
@ArgoZhang
Copy link
Collaborator

@cairabbit I've been a little busy recently and haven't had time to display this function. It would be great if you could implement this function.

@ArgoZhang
Copy link
Collaborator

link discuss #2874

@ArgoZhang ArgoZhang added enhancement New feature or request and removed triage Triage the issue late labels May 27, 2024
@ArgoZhang
Copy link
Collaborator

ArgoZhang commented May 27, 2024

@cairabbit I took a look at the code. I think that the drawer component must be changed to service mode first. Currently, inline mode is not suitable for use as a table editing window.

I had created the feat-drawser branch to track this issue #3581.

@cairabbit
Copy link
Collaborator Author

awesome, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants