sync: same datacollection for both datatable and combo: attribute names

https://snippet.webix.com/u751lwhc

at line 25, i’m using
data.value = data.MYATTRIBUTE;

so the combo display value of MYATTRIBUTE

Not sure it’s the good way to do that. Does another way exists ?

Thank you

  1. https://snippet.webix.com/u751lwhc
  2. https://docs.webix.com/desktop__data_scheme.html#initkey
  3. https://docs.webix.com/helpers__data_drivers.html#creatingnewdatadriver

Thanks @intregal

Your snippet is mine. Did you made a new snippet ?

https://snippet.webix.com/h4vlvg4n

<3 <3 thank you

Hello @franck34 ,
You can use template for suggest and list , and change, a little , the filter

 { view:"combo", 
   id:"combo", 
    suggest:{      
      filter:(obj, value)=>{
        return obj.MYATTRIBUTE.toLowerCase().indexOf(value) !== -1
      },
      template:"#MYATTRIBUTE#",
      body:{
        template:"#MYATTRIBUTE#"
      }      
    }}

https://snippet.webix.com/dt97hres

@Nastja thank you !