chris
June 4, 2014, 10:57am
1
In the PropertyView Element the type “select” does not support Key/Value pairs, i.E. like
[ { id:1, value:“number one” }, { id:2, value:“number two” } ]
thats a pitty… when i use type “richselect” it works for select, but it displays the id :(((
any (simple) solution for that?
Thanks
Chris
maksim
June 5, 2014, 11:20am
2
I think we will fix it in the next build, to make experience more consistent across all components.
chris
June 6, 2014, 11:01am
3
great!
->guess its same issue: richselect in datatable ( data table = properysheet) ?
→ and also : “grid suggest” → thats really cool, but not working in data table/propertysheet.
for grid suggest in data table i helped me with a workaround, using a popup window including the data table to select from and then assigning the value to data table field.
i was not able to code an own “editor” for that (to use it in general), cause i didn’t understood the editor concept clearly and documentation is “thin” on that chapter…
Yep, documentation lack info about advanced customization - will be added.
For grid suggest in datatable - you can check
http://docs.webix.com/samples/32_thirdparty/13_gridselect.html
http://docs.webix.com/desktop__gridsuggest.html
chris
June 10, 2014, 9:26am
5
Samples does not match my issue. There we have DataTable in a richselect.
But this does not work at this time for use as editor in a DataTable!
maksim
June 10, 2014, 11:15am
6
It mostly works as editor in datatable as well
http://webix.com/snippet/71b37477
Just one more event handler need to be added to repaint the master datatable after selection
chris
June 10, 2014, 1:42pm
7
Thanks, there were some missing configs.
Is the collection-parameter something special - Never used that, worked with “data” or “options” tag - never found “collection” tag in Docu.
Do you think there is a way to bring it work on PropertyView as well?
Helga
June 16, 2014, 10:37am
8
As to the property view, it will be updated in the next version and id-value pairs in select editors will be possible.
The same is true for grid suggest editor.
Nothing special in ‘collection’ attribute, it is ‘options’ alias.
chris
June 17, 2014, 3:25am
9
Thank you!
…guesses about when to expect next version?
maksim
June 17, 2014, 4:45am
10
Most probably, Webix 1.9 will be released till the end of this week.
chris
June 17, 2014, 8:41am
11
In that sample maksim gave ( http://webix.com/snippet/71b37477 ) you have to do an extra-click somewhere after selection, to let the selected value be visible.
Guess this is a bug too - Will this be fixed in next version?
chris
June 17, 2014, 9:32am
12
Here are two more problems shown: if an id is not in the list and if id is zero.
http://webix.com/snippet/c791b782
Helga
June 18, 2014, 4:56am
13
“you have to do an extra-click somewhere after selection” - yes, it’s a bug and will be fixed in the next version.
When ID not in the option list, or when ID is zero the data will still be editable but with no initial value. So try to avoid data items with zero ID.
chris
June 18, 2014, 10:54am
14
Fine. Thank you.
Please recognize: Actually if an ID is not in the option list an ERROR is shown.
Helga
June 19, 2014, 3:52am
15
Yes, that’s fixed. You’ll be warned about an inappropriate ID by a message box in debug version, but nothing in production.
chris
June 24, 2014, 10:14am
16
“you have to do an extra-click somewhere after selection” - yes, it’s a bug and will be fixed in the next version.
sorry, but its NOT fixed in Webix1.9 …
Helga
June 26, 2014, 11:21am
17
Hi Chris,
Sorry for the inconvenience, the code for extra components was not updated online.
Look how it works in the documentation samples: http://docs.webix.com/samples/32_thirdparty/13_gridselect_editor.html
You can take the updated version of gridsuggest from github GitHub - webix-hub/components: Third party integrations for the Webix UI .
Or it will be available by a link (http://cdn.webix.io/components/gridsuggest/gridsuggest.js ) but it takes some time there to update the code.