Listbox toolbar = false doesn't work. How to load text and value using databind?

0 Answers 69 Views
ListBox
Rajendra
Top achievements
Rank 1
Rajendra asked on 07 Sep 2023, 02:05 PM

Hi, List box [toolbar]="false" doesn't work. It's just display empty on browser. I am using Angular cli 16.2. Using ToolbarSettings also has the same issue.

Also how can I load Listbox using databinding? I couldn't find the examples.

<kendo-listbox kendoListBoxDataBinding [data]="memberNames" [toolbar]="toolbarSettings"></kendo-listbox>

Georgi
Telerik team
commented on 08 Sep 2023, 10:47 AM

Hi Rajendra, 

Thank you very much for the details provided.

If I understood you correctly, you are currently utilizing the Kendo UI for Angular ListBox and are experiencing issues with configuring the component's toolbar as well as the data binding. Please, correct me if I misunderstood you.

I have tested the behavior of the Listbox toolbar property with both an object of type ListBoxToolbarConfig and a boolean(false) value, and it seems like I might be missing out on some of the steps necessary to reproduce the issue as the component behaves according to the expectations in our environment.

For reference, I am attaching to this response the demo project where I tested the component.

To run the app:
  1. Download and unzip the folder.
  2. Execute npm install.
  3. Run ng serve.

For this reason, I would ask you to provide more detailed specifics of the implementation or ideally a runnable example demonstrating the issue. This would allow me to gain a better understanding of the exact scenario and thus work on a more suitable solution.

When it comes to the data binding of the ListBox component, I would suggest checking out our Data Binding article:

https://www.telerik.com/kendo-angular-ui/components/listbox/data-binding/

Let me know if the provided information helps.

Regards,
Georgi
Progress Telerik

No answers yet. Maybe you can help?

Tags
ListBox
Asked by
Rajendra
Top achievements
Rank 1
Share this question
or