小编imj*_*bal的帖子

如何在角度材料表中为单个表使用2分页?

我正在使用角度材料在 angular6 中创建一个应用程序。如何在单个表中使用 2 个分页。 在此处输入图片说明 我想在页眉和页脚两个地方显示分页。

标题分页仅显示带有下拉菜单的“每页项目数”。页脚分页将显示箭头和所有内容。

当我添加 2 个分页时,第二个分页不起作用。

请参考截图 在此处输入图片说明

谢谢。

angular-material angular angular-material-table

6
推荐指数
1
解决办法
2094
查看次数

警告:'C:\ProgramData/Git/config' 有一个可疑的所有者:'S-1-5-21-2380165290-1749897186-383349493-670437'

warning: 'C:\ProgramData/Git/config' has a dubious owner: 'S-1-5-21-2380165290-1749897186-XXXXXXXXX-670437'.
For security reasons, it is therefore ignored.
To fix this, please transfer ownership to an admininstrator.
ERROR: Your account is suspended. Please check with your installation administrator.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

Git 配置文件值也很好。

在此输入图像描述

我可以通过维护者访问 GitHub 企业存储库。今天之前它一直在工作,只是我收到了错误。请帮我解决这个问题。谢谢。

git github github-for-windows

5
推荐指数
1
解决办法
8227
查看次数

Angular Material 数据表列按日期范围排序

如何根据日期范围对日期列进行排序?角材料数据表。我正在处理一个项目,现在面临一个问题,即如何使用 filterPredicate 或 mat-table 中的任何其他选项根据日期范围 fromDate 和 toDate 对列排序数据进行日期排序。

日期列将显示在日期范围之间。请参考屏幕截图并在此处查看stackblitz中的项目 在此处输入图片说明

https://stackblitz.com/edit/angular-pkkvbd-cdtxwz-date-range-filter?embed=1&file=app/table-filtering-example.ts

如果我选择2019年1月1日2020年12月31日的数据将被显示的所有日期结果之间

angular-material angular

2
推荐指数
1
解决办法
1万
查看次数