The error could also come from here…
$w("#TutorResult").columns = [
{
"id": "col1", // ID of the column for code purposes
// The field key in the collection whose data this column displays
"dataPath": "photo",
"label": "Profile Pic", // The column header
"width": 100, // Column width
"type" :"image", // Data type for the column
},
{
"id": "col2",
"dataPath": "title",
"label": "Name",
"width": 100,
"type": "Text",
"linkPath":"link-title",
},
{
"id": "col3", // ID of the column for code purposes
// The field key in the collection whose data this column displays
"dataPath": "jobTitle",
"label": "Job", // The column header
"width": 100, // Column width
"type": "Text", // Data type for the column
},// more column objects here if necessary
{
"id": "col4", // ID of the column for code purposes
// The field key in the collection whose data this column displays
"dataPath": "location",
"label": "Location", // The column header
"width": 100, // Column width
"type": "text", // Data type for the column
},
{
"id": "col5", // ID of the column for code purposes
// The field key in the collection whose data this column displays
"dataPath": "grades",
"label": "Grade", // The column header
"width": 100, // Column width
"type": "text", // Data type for the column
},
{
"id": "col6", // ID of the column for code purposes
// The field key in the collection whose data this column displays
"dataPath": "rating",
"label": "Rating", // The column header
"width": 100, // Column width
"type": "image", // Data type for the column
},
]}
)}
Do a test-run without this code-part.