Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Data Validation(Data validation when loading data from xls file)
Data Validation [message #1062362] Fri, 07 June 2013 12:18 Go to next message
rajan tak is currently offline rajan takFriend
Messages: 2
Registered: April 2013
Junior Member
I have a screen where i have added a file dialog to select a excel file and load the data into natTable.This works fine and able to load the data into nattable and also able to edit the cell.

The problem is, how do i validate the data when data is loaded first time.Is there any option to have a data source attached to the natTable which validates the data.
Re: Data Validation [message #1062379 is a reply to message #1062362] Fri, 07 June 2013 12:57 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1407
Registered: July 2012
Senior Member
Well that sounds more like an issue with your import rather than a NatTable question.

You would need to perform your validation and add labels to the cells that contain invalid data. This is more a concept of weak validation rather than typical edit validation in NatTable.

Have a look at this blog post to learn about weak validation: http://blog.vogella.com/2013/03/02/crossweak-validation-in-nattable-by-dirk-fauth/
Previous Topic:Applying CSS to NatTable
Next Topic:exportMultipleNatTables()
Goto Forum:
  


Current Time: Thu Nov 27 11:04:57 GMT 2014

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

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