|
|||||||
|
|||||||
What's New?It's possible now to define column width percentage wise:
colDef : [
{
...
width : '20%',
...
},
...
],
Also you can attach and unattach toolbars ResetPanel and SearchPanel:
tableDef
{
...
useResetPanel : true|false
useSearchPanel : true|false
...
}
useSort property allows you to cancel the sort icons and sort functions. usePagePanel - to cancel the page panel (with number of rows and page turn control).
tableDef =
{
...
useSort : true|false,
usePagePanel : true|false,
...
};
Data editingIt's possible now to edit data in table. You can define global edit parameters as
tableDef=
{
...
useEdit : true | false,
editIndicator : 'HTML',
editTitle : 'String',
editClass : 'CSS',
...
}
useEdit is boolean value that define whether will data edit in table;
Then you implement controls for each column that you wish to use for edit value.
Controls are not required parameters, so you can choose only few columns for edit if you need.
colDef:[
{
...
input : 'text' | 'checkbox' | 'radio' | 'select' | 'button',
value : 'String' | [Array],
nullValue : 'String',
tooltip : 'String',
...
],
input is type of edit control that will use for this column, all possible values you see in code sample;
Example - Data editing
You can see an example here - Data editing Example [popup]
Note: All these features are available with |
|||||||
© CodeThat.com, 2003-2005 |