Hello,
It is first cut for table sorting
screenshoot : http://www.snpe.co.yu/table-sort.png
sort is 'type of order' asc (1^), then date desc (2 ) and then order ID asc (3^)
It is possible for every column and every combination of columns
Sorting do database and it is very quick - I try table sorting from RCP, but it is
very slow for my table (>3000 rows) and work with only one column
I try resolve problem with validation in search/filter mode and it is my idea :
- add boolean (for instance doValidation) in ValidationFormModel with setter and getter (getter is optional)
- add getter for formModel in SwingFormModel
- ValidationModel#constraintViolated/constraintSatisfied work only if doValidation is true
- from bussines model (form) I set doValidation when I want validation - I try this and it work
screen without validation error in filter mode : http://www.snpe.co.yu/table-sort-validation.png
- sort by type asc, name asc,date desc and order id asc,
- filter with type with first character 0; order id,emp id,company id and type id are required, but no validation in filter mode;
new row/update row do normal validation
screen : http://www.snpe.co.yu/validation.png
It work with last RCP cvs and infonode 1.2.0
Comments ?
regards


Reply With Quote