Fix creating TableWidget instance.

Also data conversion for TableField in a dynamic UI is fixed.

Change-Id: I7b7fe85c9dc64dbe100dd40a33823dee7e38328a
Closes-bug: #1251205
Merge "Fix creating TableWidget instance."