Questions on Nebula NatTable sorting and filtering

喜欢而已 提交于 2019-12-25 09:02:44

问题


I have been using Nebula NatTable for quite sometime in my project and is familiar with the basics. I Have 2 questions on sorting and filtering.

  1. There are separate examples given for sorting and filtering filter example, sort example . My question is , can I include both these features in one instance of NatTable?

  2. Can I remove the filterheader control after the NatTable instance is created? If yes, how can that be done ?


回答1:


  1. Yes and there are several examples showing that. Some of them are for example located in Tutorial Examples - Integration. All the features in NatTable can be combined.

  2. I suppose you mean the filter header row, as there is no special control for it. It can not be removed in terms of removing it from the layer stack afterwards. But the visibility can be changed at runtime. There is even a key binding by default enabled to do that. By pressing F3 you can toggle the visibility at runtime. The question is, why do you want to remove the filter row after the creation time. Typically people are doing it for programmatically filtering, but that should be possible without the filter row by applying filters to the FilterList



来源:https://stackoverflow.com/questions/38626763/questions-on-nebula-nattable-sorting-and-filtering

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!