Skip to main content



      Home
Home » Eclipse Projects » NatTable » How to read Map in Nattable
How to read Map in Nattable [message #1797020] Wed, 24 October 2018 04:23 Go to next message
Eclipse UserFriend
How to read the map in NatTable

My model looks like

Student
Sting name
int rollNo
HasMap<String ,String> subMarks;


How to show the subMarks in nat Table

HasMap Contain:
subMarks.put("Lang1","75");
subMarks.put("Lang2","55");
subMarks.put("Lang3","85");

Name rollNo Lang1 Lang2 Lang3
John 001 75 55 85

Thanks and Regards
Karthikeyan

[Updated on: Wed, 24 October 2018 04:24] by Moderator

Re: How to read Map in Nattable [message #1797022 is a reply to message #1797020] Wed, 24 October 2018 04:33 Go to previous messageGo to next message
Eclipse UserFriend
There is no default implementation for that. You need to implement and register a DisplayConverter that can handle maps and outputs the value in the way you want it.
Re: How to read Map in Nattable [message #1797031 is a reply to message #1797022] Wed, 24 October 2018 05:56 Go to previous message
Eclipse UserFriend
Than you
Previous Topic:How to restore default value after setting a css property
Next Topic:NatTable context menus with Eclipse menus
Goto Forum:
  


Current Time: Tue May 20 22:17:23 EDT 2025

Powered by FUDForum. Page generated in 0.07115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top