Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to read Map in Nattable
How to read Map in Nattable [message #1797020] Wed, 24 October 2018 08:23 Go to next message
karthykeyan Palanisamy is currently offline karthykeyan PalanisamyFriend
Messages: 6
Registered: May 2010
Location: Bangalore
Junior Member

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


Thanks and Regards
Karthikeyan

[Updated on: Wed, 24 October 2018 08:24]

Report message to a moderator

Re: How to read Map in Nattable [message #1797022 is a reply to message #1797020] Wed, 24 October 2018 08:33 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2711
Registered: July 2012
Senior Member
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 09:56 Go to previous message
karthykeyan Palanisamy is currently offline karthykeyan PalanisamyFriend
Messages: 6
Registered: May 2010
Location: Bangalore
Junior Member

Than you

Thanks and Regards
Karthikeyan
Previous Topic:How to restore default value after setting a css property
Next Topic:NatTable context menus with Eclipse menus
Goto Forum:
  


Current Time: Thu Sep 19 08:31:10 GMT 2019

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

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

Back to the top