/** * @return The ID of the underlying table on which this object is operating. */ @Nonnull public final String getTableID () { return m_aTable.getID (); }
ValueEnforcer.notEmpty (aTable.getID (), "Table must have an ID to work with DataTables!");
nColumnCount + " in table " + aTable.getID ()); m_aColumns[nTarget] = aColumnData;
public static void init () { BootstrapDataTables.setConfigurator ( (aLEC, aTable, aDataTables) -> { final IRequestWebScopeWithoutResponse aRequestScope = aLEC.getRequestScope (); aDataTables.setAutoWidth (false) .setLengthMenu (LENGTH_MENU) .setAjaxBuilder (new JQueryAjaxBuilder ().url (CAjax.DATATABLES.getInvocationURL (aRequestScope)) .data (new JSAssocArray ().add (AjaxExecutorDataTables.OBJECT_ID, aTable.getID ()))) .setServerFilterType (EDataTablesFilterType.ALL_TERMS_PER_ROW) .setTextLoadingURL (CAjax.DATATABLES_I18N.getInvocationURL (aRequestScope), AjaxExecutorDataTablesI18N.LANGUAGE_ID) .addPlugin (new DataTablesPluginSearchHighlight ()); }); // By default allow markdown in system message BootstrapSystemMessage.setDefaultUseMarkdown (true); }
public static void init () { BootstrapDataTables.setConfigurator ( (aLEC, aTable, aDataTables) -> { final IRequestWebScopeWithoutResponse aRequestScope = aLEC.getRequestScope (); aDataTables.setAutoWidth (false) .setLengthMenu (LENGTH_MENU) .setAjaxBuilder (new JQueryAjaxBuilder ().url (CAjax.DATATABLES.getInvocationURL (aRequestScope)) .data (new JSAssocArray ().add (AjaxExecutorDataTables.OBJECT_ID, aTable.getID ()))) .setServerFilterType (EDataTablesFilterType.ALL_TERMS_PER_ROW) .setTextLoadingURL (CAjax.DATATABLES_I18N.getInvocationURL (aRequestScope), AjaxExecutorDataTablesI18N.LANGUAGE_ID) .addPlugin (new DataTablesPluginSearchHighlight ()); }); // By default allow markdown in system message BootstrapSystemMessage.setDefaultUseMarkdown (true); }
m_aDisplayLocale, m_eServerFilterType); UIStateRegistry.getCurrent ().registerState (m_aTable.getID (), aServerData);