Jump to content

Filter + Tunicombobox and free entry


delagoutte

Recommended Posts

Open demo project Gridfilter

Add Unicombobox on unihiddenpanel

for column "Company Name" (or other) set property filtering.editor with this unicombobox.(no items for the moment)

launch your app

on filter for column "Company Name" type somme letter +Return  ---> the event onColumnFilter is not called

 

Add items to your combobox -> if you select an item in the list -> the event is called but not with free entry + Return

 

How can i do for having event onColumnFilter that called when i type Return  like a simple uniedit in demo gridfilter2

Link to comment
Share on other sites

For the moment i'm using ExtEvents

function keypress(sender, e, eOpts)
{
  if (e.getKey() == 13 )
  {
    ajaxRequest(sender, 'select', [""]);
  }
}

it's seems working but is there a better solution ? an option that i don't know the meaning ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...