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

Data Grid Refactor Roadmap #4

Open
20 of 24 tasks
nzbin opened this issue Apr 12, 2020 · 21 comments
Open
20 of 24 tasks

Data Grid Refactor Roadmap #4

nzbin opened this issue Apr 12, 2020 · 21 comments
Labels
area: data-grid Issues about data grid refactoring This issue is tracking a component refactoring

Comments

@nzbin
Copy link
Member

nzbin commented Apr 12, 2020

  • expandable row
  • row selectable
  • multiple row selectable
  • cell selectable
  • multiple cell selectable
  • column hiding option
  • column moving option
  • column pinning option
  • column filter option
  • column resizable
  • toolbar template
  • header template
  • header group
  • footer template
  • no result
  • sidebar template
  • tool panel
  • sortable on frontend
  • sort properties
  • row selected items default
  • row selection formatter(disabled & hideCheckbox)
  • column type parameters
  • i18n
  • virtual scroll
@nzbin nzbin added the refactoring This issue is tracking a component refactoring label Apr 12, 2020
@nzbin nzbin pinned this issue Apr 12, 2020
@TejasCMehta
Copy link

@nzbin you can refer to this https://ag-grid.com/example.php for further enhancement ideas.

@TejasCMehta
Copy link

TejasCMehta commented Apr 22, 2020

how to achieve this type of custom headertemplate with filter inputs like, dropdown, datepicker etc?

headerTemplate should be first priority in your feature list.

image

@panakour
Copy link
Contributor

Also I think header and footer template are the most important in the list

@Laca81
Copy link

Laca81 commented Apr 29, 2020

Also I think header and footer template are the most important in the list

Totally agree

@nzbin
Copy link
Member Author

nzbin commented May 5, 2020

@TejasCMehta @panakour @Laca81
The header and footer template have been added. Please try the new version.

@YuriGrandinetti
Copy link

Hello, I downloaded the extensions and the ng-matero template, and I already upgraded to the new version of angular 10, still without any problems. I am wanting to use a datagrid project for my project, but I would like to know if you have a plan to implement this type of custom headertemplate with filter inputs like, dropdown, datepicker etc?

@nzbin
Copy link
Member Author

nzbin commented Jul 1, 2020

@YuriGrandinetti I think you should customize the header template with your own logic.

@YuriGrandinetti
Copy link

YuriGrandinetti commented Jul 2, 2020 via email

@nzbin
Copy link
Member Author

nzbin commented Jul 2, 2020

@YuriGrandinetti Thanks for your advice,I will add this feature in future.

@mlribes
Copy link
Contributor

mlribes commented Jul 24, 2020

[matSortActive], [matSortDirection] and matSortDisableClear support are also important in case of backend sort.

@nzbin
Copy link
Member Author

nzbin commented Jul 29, 2020

[matSortActive], [matSortDirection] and matSortDisableClear support are also important in case of backend sort.

Many thanks for your PR, I have released a new version.

@nzbin nzbin added this to In Progress in Data Grid Refactor Aug 4, 2020
@TejasM9
Copy link

TejasM9 commented Aug 5, 2020

@nzbin can you add right sidebar on the data grid page ? What I need is I want to open a right side bar with search form on the data grid page. can you guide me any better way to do that. I also want to open add/edit form like that too.

@draylegend
Copy link

draylegend commented Sep 30, 2020

With virtual scroll the performance of grid will be even better.

Angular issue, stackblitz example

@nzbin nzbin added the area: data-grid Issues about data grid label Jul 3, 2021
@ChrTall
Copy link

ChrTall commented Sep 20, 2021

@nzbin I have a requirment for selecting different rows and columns in a datagrid. Will this be possible after the datagrid is refactored? Thank you for your work. Is the current state of the refactored Datagrid in the dev branch?

@nzbin
Copy link
Member Author

nzbin commented Sep 23, 2021

@nzbin I have a requirment for selecting different rows and columns in a datagrid. Will this be possible after the datagrid is refactored? Thank you for your work. Is the current state of the refactored Datagrid in the dev branch?

Have you checked the examples?

@ChrTall
Copy link

ChrTall commented Sep 23, 2021

@nzbin Yes I have read them. I think I can achieve my goal by using a Custom header template with a checkbox. I have problems to use fxLayout inside the ng-template for expandable rows. Is this not possible or are there any gotchas ?

@ismailix
Copy link

I am using the data-grid structure in one of my projects, but it seems a bit plain.
How can I export (pdf - excel) and filter and search within the table? thanks @nzbin

@ramax495
Copy link

When using material table we can init data with dataSource. And there is no dataSource in Mtx-grid. Is it possible or could be upgraded to have this feature ?

@nzbin
Copy link
Member Author

nzbin commented May 17, 2024

When using material table we can init data with dataSource. And there is no dataSource in Mtx-grid. Is it possible or could be upgraded to have this feature ?

@ramax495 I'm sorry, I don't quite understand what you mean. You can use the dataSource with the grid instance.

dataSource = new MatTableDataSource();

@ramax495
Copy link

@nzbin I mean Input property that mat-table has:
https://github.com/angular/components/blob/main/src/cdk/table/table.ts#L498

@Input() get dataSource(): CdkTableDataSourceInput<T>

where CdkTableDataSourceInput is:

/** Possible types that can be set as the data source for a `CdkTable`. */
export type CdkTableDataSourceInput<T> = readonly T[] | DataSource<T> | Observable<readonly T[]>;

In my case I have dataSource type that is derived from DataSource (from @angular/cdk/collections).
When I use mat-table I can pass to input parameters my dataSource like this: [dataSource]="dataSource".
In mtx-grig only array is allowed:
https://github.com/ng-matero/extensions/blob/main/projects/extensions/grid/grid.ts#L201

@nzbin
Copy link
Member Author

nzbin commented May 18, 2024

@nzbin I mean Input property that mat-table has: https://github.com/angular/components/blob/main/src/cdk/table/table.ts#L498

@Input() get dataSource(): CdkTableDataSourceInput<T>

where CdkTableDataSourceInput is:

/** Possible types that can be set as the data source for a `CdkTable`. */
export type CdkTableDataSourceInput<T> = readonly T[] | DataSource<T> | Observable<readonly T[]>;

In my case I have dataSource type that is derived from DataSource (from @angular/cdk/collections). When I use mat-table I can pass to input parameters my dataSource like this: [dataSource]="dataSource". In mtx-grig only array is allowed: https://github.com/ng-matero/extensions/blob/main/projects/extensions/grid/grid.ts#L201

I'm sorry, mtx-grid is not exactly equal with mat-table. If you have any other ideas, please give me a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: data-grid Issues about data grid refactoring This issue is tracking a component refactoring
Projects
Status: In Progress
Data Grid Refactor
  
In Progress
Development

No branches or pull requests