PrimeNG:p表与p数据表之间的差异 [英] PrimeNG: Differnce between p-Table and p-dataTable

查看:151
本文介绍了PrimeNG:p表与p数据表之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://www.primefaces.org/primeng/#/table

不推荐使用最新版本的PrimeNG p-dataTable中的上述链接.

As per the above link in the latest version of PrimeNG p-dataTable is deprecated.

我已经使用5.2.7版实现了我的表格.

I have implemented my tables using version 5.2.7.

这是否意味着我已经更改了所有实现?我已经使p-dataTablep-table可以使用表中所有可用的新功能?

Does it mean I have changed all the implementation? I have made for p-dataTable to p-table to use all new feature available for the table?

升级表实现的最佳方法是什么?

What is the best way to upgrade my table implementation?

如果我不这样做,那么最新版本的PrimeNG是否将支持p-dataTable?

And if I don't do that then will the latest version of PrimeNG will support for p-dataTable?

推荐答案

p-table,也称为 TurboTable ,我们可以说它是p-dataTable的高级版本. PrimeNG团队取得了很大的进步.根据文档,p-dataTable可以在10秒内呈现5000行8列,而 TurboTable 可以在不到 0.5秒的时间内完成.

p-table which is also known as TurboTable, we can say it is advanced version of p-dataTable. PrimeNG team highly improved. As per the documentation p-dataTable can render 5000 rows of 8 columns in 10 seconds whereas TurboTable does it in less than 0.5 seconds.

这是否意味着我已经更改了我为之所做的所有实现 将p-dataTable转换为p-table,以使用表可用的所有新功能?

Does it mean i have change all the implementation i have made for p-dataTable to p-table to use all new feature available for table?

为了提高性能,他们创建了所有新的p-table组件.因此,如果您想实现所有新功能,则可以更改实现. PrimeNG Turbo Table

For the performance improvement they have created all new p-table component. So If you want to achieve all new feature you will have change your implementation. Some more details here PrimeNG Turbo Table

升级表实现的最佳方法是什么?

What is the best way to upgrade my table implementation?

如果我不这样做,那么最新版本的PrimeNG将会 是否支持p-dataTable?

And if i don't do that than will the latest version of PrimeNG will support for p-dataTable?

对于升级表组件,您需要遵循文档.那是升级的唯一方法. PrimeNG的最新版本很可能不支持p-dataTable.您可以在此链接上查看最新评论: TurboTable .他们明确提到: 不推荐使用,并将在以后的版本中将其删除,以便我们专注于改进TurboTable.

For upgrading table component you need to follow the documentation. That is the only way to upgrade. Most probably latest version of PrimeNG will not support p-dataTable. You can see the last comment at this link : TurboTable. They clearly mentioned: It is deprecated and will be removed in a future release so that we can focus on improving TurboTable.

有关更多详细信息,请参见 Github

For more details you can see the thread at Github

这篇关于PrimeNG:p表与p数据表之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆