关于星云NatTable排序和过滤的问题 [英] Questions on Nebula NatTable sorting and filtering

查看:122
本文介绍了关于星云NatTable排序和过滤的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在项目中使用了Nebula NatTable很长时间了,并且熟悉基础知识.我有2个关于排序和过滤的问题.

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. 给出了用于排序和过滤

  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?

是否可以在NatTable实例被删除后删除filterheader控件 创建了吗?如果是,那该怎么办?

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

推荐答案

  1. 是的,有几个例子表明了这一点.例如,其中一些位于教程示例-集成中. NatTable中的所有功能都可以组合.

  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.

我想您的意思是过滤器标题行,因为它没有特殊的控件.就之后将其从图层堆栈中删除而言,它无法删除.但是可见性可以在运行时更改.默认情况下,甚至还有一个按键绑定可以做到这一点.通过按F3键,可以在运行时切换可见性.问题是,为什么要在创建时间之后删除过滤器行.通常,人们是通过编程方式进行过滤的,但是如果没有过滤器行,应该通过将过滤器应用于FilterList

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

这篇关于关于星云NatTable排序和过滤的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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