Kurt Posted April 2, 2023 Share Posted April 2, 2023 Hi, Im using a LookupField in a grid, not UniDBLookupComboBox. but how do i enable the AnyMatch with it? Regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 2, 2023 Share Posted April 2, 2023 Hello @Kurt Please see the demo: \FMSoft\Framework\uniGUI\Demos\Desktop\DBLookupComboBox You can use the editor property of your column... Quote Link to comment Share on other sites More sharing options...
Kurt Posted April 15, 2023 Author Share Posted April 15, 2023 Hi im following your answer from here: So im using a GridLookupField. is there a way to enable AnyMatch for a lookup field? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2023 Share Posted April 15, 2023 Hello, 1 hour ago, Kurt said: So im using a GridLookupField. is there a way to enable AnyMatch for a lookup field? You can try to use this approach for now: function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { columns.forEach(function(col) { if (col.getEditor() && col.getEditor().xtype == "combo") { col.getEditor().anyMatch = true } }) } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.