Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions src/js/modules/infragistics.datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,7 @@

var dataSummaries = ds.dataSummaries();
```
* returnType="object"
returnType="object"
*/
var s = this.settings.summaries, type = s.type;
if (type === "local") {
Expand Down Expand Up @@ -7633,8 +7633,8 @@
Eg: When you need to fetch the data remotely, or when it is stored in a string and needs to be evaluated first
*/
schema: {
/* A list of field definitions specifying the schema of the data source. Field objects description: {name, [type], [xpath]}
returnType="array" */
/* type="array" A list of field definitions specifying the schema of the data source. Field objects description: {name, [type], [xpath]}
*/
fields: [
{
/* type="string" Name of the field*/
Expand All @@ -7652,7 +7652,7 @@
xpath: undefined,
/* type="string|function" This option is applicable only for fields with fieldDataType="object". Reference to a function (string or function) that can be used for complex data extraction from the data records, whose return value will be used for all data operations associated with this field. */
mapper: undefined,
/*paramType="function" optional="true" formatter function which accepts three parameters: val - value of the field; record - data source record; field - field definition; and return the formatted string. Formatter function is used when filtering by all fields.*/
/*type="function" optional="true" formatter function which accepts three parameters: val - value of the field; record - data source record; field - field definition; and return the formatted string. Formatter function is used when filtering by all fields.*/
formatter: undefined
}
],
Expand Down Expand Up @@ -9654,7 +9654,7 @@
}
});
$.ig.TreeHierarchicalDataSource = $.ig.TreeHierarchicalDataSource || $.ig.DataSource.extend({
/* Configure datasource settings */
/* type="object" Configure datasource settings */
settings: {
/* Configure tree datasource specific settings */
treeDS: {
Expand Down Expand Up @@ -10467,8 +10467,8 @@
},
getExpandStateById: function (rowId) {
/*Gets whether the row with the specified id is expanded.Returns true if the row is expanded or false if it's not.
//paramType="string" optional="false" The id of the row.
//returnType="bool" Returns true if expanded and false if not.*/
paramType="string" optional="false" The id of the row.
returnType="bool" Returns true if expanded and false if not.*/
var rec = this.findRecordByKey(rowId),
propertyExp = this.settings.treeDS.expandedKey,
applyPropertyExp = (propertyExp !== null && propertyExp !== undefined);
Expand Down Expand Up @@ -11430,7 +11430,8 @@
},
getPathBy: function (record) {
/*Gets the path of a record by the record or the record's key
paramType="object|string|number" returnType="string" optional="false" the record or the record's key as string or number
paramType="object|string|number" optional="false" the record or the record's key as string or number
returnType="string"
*/
if (record === null || record === undefined) {
return null;
Expand Down
2 changes: 1 addition & 1 deletion src/js/modules/infragistics.ui.tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -4274,7 +4274,7 @@
var node = $(".selector").igTree("nodeByIndex", 10);
```
paramType="number" optional="false" Specifies the index the node at which to be retrieved.
paremType="object" optional="true" The parent node element to start the search from.
paramType="object" optional="true" The parent node element to start the search from.
returnType="object" The node element at the specified index.
*/
var node;
Expand Down