Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Combobox in vaadin grid

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello;

I am trying to add combo box in vaadin grid using the below code:



And I imported version 1.0.3 for componentrenderer because I am using vaadin version7.6 and I added them by Build Path as shown in the attachment.
But the problem that the grid is appearing empty !
If removed the line

this.getColumn("Approval").setRenderer(new ComponentRenderer());

from the code, I am able to see the grid but I can not see the combo box as shown in the attached images.
Can someone advise me?

Regards
Bilal
EmptyGrid.jpg
[Thumbnail for EmptyGrid.jpg]
GridWithoutCombobox.jpg
[Thumbnail for GridWithoutCombobox.jpg]
BuildPath_ExternalLibraries.jpg
[Thumbnail for BuildPath_ExternalLibraries.jpg]
 
You know it is dark times when the trees riot. I think this tiny ad is their leader:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!