SMART datagrid v.1 > Classes > SearchCellEditor

Back  Forward

DataLudi.SearchCellEditor.searchDelay  property

The period which should wait after last key input and before firing Item Request Event. It specifies in millisecond unit. If passed this period and the entered text length is greater than keyLength, it will fire the event. 

It transfers the list items to editor through GridBase.fillEditSearchItems function within event handler. 

Defaults to 1000.

Getter
function searchDelay(): Integer
Setter
function setSearchDelay(value: Integer)
Code -1
    var columns = [{
        name: "CustomerID",
        fieldName: "CustomerID",
        editor: {
            type: "search",
            keyLength: 1,
            searchDelay: 500,
        }
    },
    ...
    }];
    grid.setColumns(columns);
See Also
keyLength
requestWhenCtrlEnter
requestWhenEnter
GridBase.onEditSearch
GridBase.fillEditSearchItems
Examples
Search Cell Editor