在拖动列上显示列标题 [英] Show Column Header on dragging column

查看:186
本文介绍了在拖动列上显示列标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在获取副本


i implement the code in GroupableHeader and try to enable the reordering allowed but i have two problems:

1: When dragging a column the header don´t see over the column
2: How restrict the dragged area of the column to prevent the column exit of the columnGroup

I don´t understand why the header don´t see on column dragging, i read the table header api but did not find any solution. Any ideas for solving these problems?

解决方案

My predecessor also thought that using code they copied off the internet was a good idea...fortunately for my company, I don't

I spent about 4 weeks of my spare time digging through the implementation and comparing it with the default BasicTableHeaderUI figuring out how to reinstate...

  • Column ordering, including, limiting the grouped columns to there group
  • Row sorting
  • Various other bits and pieces

This is a incomplete solution, as I've not yet quite got to the point where when you drag a group and have it show all the columns in the group, but that's within the TableUI

Unfortunately, I can't paste the code, it's over the 3000 character limit, but you can grab a copy from here

这篇关于在拖动列上显示列标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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