79688268

Date: 2025-07-03 03:34:35
Score: 3
Natty:
Report link

Thank you Sam! Good news! Here is the result of headerData.

totalRowsCount 95

headerData {...} jsonTableCopy JSON
author: "Bob Hoskins"
_id: "9e570df9-6ea9-4760-98f1-0df76084e857"
_owner: "76001129-23f0-41da-9f3c-15b9bd2fe0e9"
_createdDate: "Wed Jun 25 2025 13:40:16 GMT+0530 (India Standard Time)"
_updatedDate: "Wed Jun 25 2025 13:40:16 GMT+0530 (India Standard Time)"
bookCopies: 1
available: true
title: "All They Want Is The Truth"
bookOwner: "BICF"

numberOfColumns 9

bookTableHeaders Array(9) jsonTableCopy JSON
0: "author"
1: "_id"
2: "_owner"
3: "_createdDate"
4: "_updatedDate"
5: "bookCopies"
6: "available"
7: "title"
8: "bookOwner"

Also...Some columns are empty like you pointed out. Here's a screenshot of my wix data table:

Preview of wixdata as it was loaded with few columns empty

So I entered "NA" in some columns. That helped. Here's the result after that:

totalRowsCount 95

headerData {...} jsonTableCopy JSON
author: "Bob Hoskins"
borrowedBy: "NA"
_id: "9e570df9-6ea9-4760-98f1-0df76084e857"
_owner: "76001129-23f0-41da-9f3c-15b9bd2fe0e9"
_createdDate: "Wed Jun 25 2025 13:40:16 GMT+0530 (India Standard Time)"
_updatedDate: "Thu Jul 03 2025 08:44:49 GMT+0530 (India Standard Time)"
requestedBy: "NA"
bookCopies: 1
available: true
title: "All They Want Is The Truth"
bookOwner: "BICF"

numberOfColumns 11

bookTableHeaders Array(11) jsonTableCopy JSON
0: "author"
1: "borrowedBy"
2: "_id"
3: "_owner"
4: "_createdDate"
5: "_updatedDate"
6: "requestedBy"
7: "bookCopies"
8: "available"
9: "title"
10: "bookOwner"

So now the non empty columns are showing up. Thank you for your help! However 3 columns "available", "requestBook", "approve", were set as boolean. I was assuming, that leaving it empty would be taken as false. If therse are not showing up because they are empty, what should I do? Should I change these booleans to number columns and then write some code to make it look like Yes, No & NA on the page's table?

I looked at javascript way back in the year 2000! After that I became a sculptor! I may make some dumb mistakes here and there! Once again, thanks a lot Sam! May God bless you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (2): what should I do
  • Whitelisted phrase (-0.5): Thank you for your help
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Barney Joseph