Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jun 27, 2008 06:50
open dhtmlx forum
Combobox

Hi,

if there is no record available for searched criteria, is it possibel to display "No record Found" or something...
Answer posted by Support on Jun 28, 2008 03:47
The list of combo in filtering mode can show only elements related to enetered text, it not possible to show some different value in list.
You can add any kind of custom logic by using existin events

combo.attachEvent("onKeyPressed",funciton(){
    if (!this.filterAny) {
       //nothing found - any kind of custom message can be shown
    }
})