Compared to disabling the header completely using headerEnabled it has the advantage that sorting, moving or resizing the columns is still possible. You can disable the header menus by using the property headerMenusEnabled on the table or headerMenuEnabled on a specific column. And how can you disable the other functions? deletion, editing).īased on the above analysis, I know how to disable sorting for the indicated column. Usually these columns contain only my buttons, that trigger some actions to be performed on a given row in the table (e.g. In my application I often have tables where I would like to disable all options for only indicated columns (e.g. In addition, it is possible to disable all functions globally available after clicking on the column header, using the function tHeaderEnabled (false). Column disabling level: setEditable(false). Column disabling level: setAllowedAggregationFunctions(CollectionUtility.hashSet()). Column disabling level: setSortEnabled(false). Column disabling level: setFixedPosition(true). My own research of Scout API shows that the possibilities in this area are as follows: Some of them can be turned off at the column level and or globally for all columns in the table. With the Scout table widget you can perform many functions on columns in a web browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |