Closed cairabbit closed 8 months ago
@cairabbit Thank you for contacting us. We will give feedback later.
@cairabbit Thank you very much for your suggestion.
We can add a new template AddTemplate
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>
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
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
}
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
The table component now is awesome and complicated. Usually, when allowing user to customize the functions by template, it might need more features for cusomization. Here is what I can see while using the Table component.
This might be a bit too much. As some scenario might not need such features, in my option. the Table component can be split into two components, one is just for showing filtering/searching/sorting and results. The other one can have filtering/searching/sorting/add/edit/delete operations.
Thank you for all the hard work. I love this library.
Describe the solution you'd like
Some thoughts of possible solutions:
Additional context
No response