com.vaadin.ui.Table.setColumnReorderingAllowed()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(271)

本文整理了Java中com.vaadin.ui.Table.setColumnReorderingAllowed()方法的一些代码示例,展示了Table.setColumnReorderingAllowed()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.setColumnReorderingAllowed()方法的具体详情如下:
包路径:com.vaadin.ui.Table
类名称:Table
方法名:setColumnReorderingAllowed

Table.setColumnReorderingAllowed介绍

暂无

代码示例

代码示例来源:origin: com.holon-platform.vaadin7/holon-vaadin

  1. /**
  2. * Sets whether column reordering is allowed or not.
  3. * @param columnReorderingAllowed <code>true</code> if column reordering is allowed
  4. */
  5. public void setColumnReorderingAllowed(boolean columnReorderingAllowed) {
  6. switch (getRenderingMode()) {
  7. case GRID:
  8. getGrid().setColumnReorderingAllowed(columnReorderingAllowed);
  9. break;
  10. case TABLE:
  11. getTable().setColumnReorderingAllowed(columnReorderingAllowed);
  12. break;
  13. default:
  14. break;
  15. }
  16. }

代码示例来源:origin: org.activiti/activiti-explorer

  1. data.setEditable(false);
  2. data.setSelectable(true);
  3. data.setColumnReorderingAllowed(true);
  4. if (lazyLoadingQuery.size() < 10) {
  5. data.setPageLength(0);

代码示例来源:origin: org.opencms/opencms-core

  1. IndexedContainer container = getPermissionContainer(permissions);
  2. m_permissions.setContainerDataSource(container);
  3. m_permissions.setColumnReorderingAllowed(false);
  4. m_permissions.setColumnHeader(PROPERTY_LABEL, CmsVaadinUtils.getMessageText(Messages.GUI_PERMISSION_0));
  5. m_permissions.setColumnHeader(

相关文章