I have found two issues with enabled 'filterExpressions' and 'filterOnKeypress' on current Smartclient 9.1
1. When trying to enter 'inSet' expression, if user stops typing after '=' sign for a longer period than 'fetchDelay', it will be expanded into '==='. Filter expression will not work correctly after completion without deleting those extra two signs.
How to reproduce:
- Open LiveGrid example: http://www.smartclient.com/docs/9.1/a/system/reference/SmartClient_Explorer.html#fetchOperationFS
- Enable filterEditor, filterExpressions and filterOnKeyPress:
- Type single '=' sign into filter editor for 'SKU' column and wait for standard 300ms. You should see something similar to attached screenshot.
It's also pretty hard to delete those signs with Backspace key when there are not parentheses present after '=' sign, but this is exactly what our users are trying to do first and they are getting frustrated with this. It looks like 'number' type columns are not affected by this.
2. The second issue is with deleting expressions with parentheses (correct one, with single '=' sign). You can't delete closing parenthesis (either with Backspace or Delete key) until you delete opening first. Reproducible on the same example as first issue. Type into 'SKU' filter
ant try to delete it with Backspace when cursor is at the end of expression.
I'm getting this issues on Chrome 33/Firefox 28 running on Windows 7.
1. When trying to enter 'inSet' expression, if user stops typing after '=' sign for a longer period than 'fetchDelay', it will be expanded into '==='. Filter expression will not work correctly after completion without deleting those extra two signs.
How to reproduce:
- Open LiveGrid example: http://www.smartclient.com/docs/9.1/a/system/reference/SmartClient_Explorer.html#fetchOperationFS
- Enable filterEditor, filterExpressions and filterOnKeyPress:
Code:
isc.ListGrid.create({ ID:"dsListGrid", width: "100%", height: "100%", autoFitData: "horizontal", autoFetchData: true, dataSource: "supplyItem" , showFilterEditor: true, allowFilterExpressions:true, filterOnKeypress:true });
It's also pretty hard to delete those signs with Backspace key when there are not parentheses present after '=' sign, but this is exactly what our users are trying to do first and they are getting frustrated with this. It looks like 'number' type columns are not affected by this.
2. The second issue is with deleting expressions with parentheses (correct one, with single '=' sign). You can't delete closing parenthesis (either with Backspace or Delete key) until you delete opening first. Reproducible on the same example as first issue. Type into 'SKU' filter
Code:
=(45300|90600)
I'm getting this issues on Chrome 33/Firefox 28 running on Windows 7.
Comment