Properties:
Styles,
Appearance Settings,
Settings,
Add/Edit/Delete Records,
Selecting Records,
Paging/Sorting,
Filtering,
Scrolling,
Grouping,
Exporting,
Key Navigation,
Localization,
Column Resizing,
Other Settings,
Collections;
| ASP.NET Grid Documentation - Properties
|
Obout.Grid namespace
Obout.Grid.Grid class
<%@ Register TagPrefix="obout" Namespace="Obout.Grid" Assembly="obout_Grid_NET" %>
Properties - Styles
FolderStyle
|
Path to the folder with style to use.
|
|
|
|
|
Properties - Appearance Settings
ShowHeader
|
Property used for showing/hiding the header of the grid.
Default: true
|
ShowFooter
|
Property used for showing/hiding the footer of the grid.
Default: true
|
|
|
|
|
Properties - Settings
ID
|
String. Component Id.
|
FolderScript
|
String. Path to the folder that contains oboutGrid.js
Default: grid/gridscript
|
AutoGenerateColumns
|
Bool. By setting this property to true, all the columns from the specified datasource
will be added to the grid.To have more control over the columns of the grid you need to set
AutoGenerateColumns to false. Default: true
See also working example.
|
CallbackMode
|
Bool. Setting this property to true will make the Grid work in callback mode (all the actions
will be executed with AJAX callbacks). If CallbackMode is set to false,
each action will trigger a postback of the page. Default: true
See also working example.
|
Serialize
|
Bool. Enables grid serialization into VIEWSTATE (this way, the grid is binded only once
to the datasource). For grids with a large number of records, we recommend to set
Serialize to false for better performance. Default: true
See also Serialize tutorial.
|
|
|
|
|
Properties - Add/Edit/Delete Records
Properties - Selecting Records
AllowRecordSelection
|
Bool. Enable/disable the record selection feature.
Default: true
See also working example.
|
AllowMultiRecordSelection
|
Bool. Enable/disable the multi record selection feature.
Default: true
See also working example.
|
KeepSelectedRecords
|
Bool. If set to true, the selected records will keep their state between callbacks/postbacks.
Default: true
See also working example.
|
AutoPostBackOnSelect
|
Bool. If true, the page will be posted back to the server when a record is selected.
Default: false
See also working example.
|
SelectedRecords
|
ArrayList. Collection which contains all the selected records.
See also working example.
|
|
|
|
|
Properties - Paging/Sorting
AllowPaging
|
Bool. Show/Hide the buttons for changing the page. Default: true
See also working example.
|
PageSize
|
Int. The number of records to be displayed on a page. Default: 10
See also working example.
|
AllowPageSizeSelection
|
Bool. Show/Hide the Page Size selection drop-down. Default: true
See also working example.
|
PageSizeOptions
|
String. The options for the "Records per page" drop-down list.
Default: 1,2,3,4,5,6,7,8,9,10,50,100,500
See also working example.
|
CurrentPageIndex
|
Int. The zero starting index of page that is displayed in the grid. Default: 0
See also working example.
|
AllowManualPaging
|
Bool. Enables/disables the manual paging feature (which allows users to navigate through the pages by entering the page number into a textbox). Default: false
See also working example.
|
ManualPagingTemplateId
|
String. The ID of the template for the manual paging section from the footer.
See also working example.
|
NumberOfPagesShownInFooter
|
Int. Sets the number of pages displayed in the footer. Default: 5
See also working example.
|
ShowTotalNumberOfPages
|
Bool. If true, the total number of pages will be shown in the footer. Default: false
See also working example.
|
AllowSorting
|
Bool. If set to true, the grid will have sorting capabilities. Default: true
See also working example.
|
|
|
|
|
Properties - Filtering
AllowFiltering
|
Bool. Enables/disables the filtering feature.
Default: false
See also working example.
|
FilterShowButton_TemplateId
|
String. The ID of the Template that will be used for the "Show Filter" button.
See also working example.
|
FilterApplyButton_TemplateId
|
String. The ID of the Template that will be used for the "Apply Filter" button.
See also working example.
|
FilterHideButton_TemplateId
|
String. The ID of the Template that will be used for the "Hide Filter" button.
See also working example.
|
FilterRemoveButton_TemplateId
|
String. The ID of the Template that will be used for the "Remove Filter" button.
See also working example.
|
|
|
|
|
Properties - Scrolling
ScrollHeight
|
Int. The scrollable height of the Grid.
Default: 0
See also working example.
|
ScrollWidth
|
Int. The scrollable width of the Grid.
Default: 0
See also working example.
|
ScrollLeft
|
Int. The horizontal scroll for the Grid.
Default: 0
See also working example.
|
ScrollTop
|
Int. The vertical scroll for the Grid.
Default: 0
See also working example.
|
|
|
|
|
Properties - Grouping
AllowGrouping
|
Bool. Enables/disables the Grouping feature.
Default: false
See also working example.
|
GroupBy
|
String. Used to group the Grid by the specified columns.
See also working example.
|
ShowMultiPageGroupsInfo
|
Bool. If true, the groups that spread on multiple pages will have additional information about the records in the header of the group.
Default: true
See also working example.
|
ShowCollapsedGroups
|
Bool. If true, the groups will initially be collapsed.
Default: false
See also working example.
|
|
|
|
|
Properties - Exporting
FolderExports
|
String. The name of the folder where the exported Excel/Word files will be written.
See also working example.
|
ExportedFilesLifeTime
|
Int. Sets the life time for the exported files.
Default: 0
See also working example.
|
|
|
|
|
Properties - Key Navigation
AllowKeyNavigation
|
Bool. Enables the Key Navigation feature.
Default: false
See also working example.
|
|
|
|
|
Properties - Localization
FolderLocalization
|
String. Path to folder with localization xml files. Default: grid/localization
See also working example.
|
Language
|
String. Name of the language to be used. Default: en
See also working example.
|
|
|
|
|
Properties - Column Resizing
AllowColumnResizing
|
Bool. Show/hide the tooltip that appears when columns are resized. Default: true
See also working example.
|
ShowTooltipOnResize
|
Bool. Enable/disable column resizing. Default: true
See also working example.
|
|
|
|
|
Properties - Other Settings
ShowLoadingMessage
|
Bool. Enables/disables the displaying of the "Loading..." message.
Default: true
See also working example.
|
EnableTypeValidation
|
Bool. Enable/disable to Type Validation feature.
Default: true
See also working example.
|
EnableRecordHover
|
Bool. Enables/disables hover effects when the mouse is over the records.
See also working example.
|
GenerateRecordIds
|
Bool. If true, each record will have a unique ID that can be used on the client-side.
See also working example.
|
|
|
|
|
Collections
Columns
|
A collection of Column objects - the columns of the Grid
|
Records
|
A collection of Hashtable objects - all the records inside the Grid
|
Templates
|
A collection of GridTemplate objects - the templates that will be used by the columns
|
|
|
|
|