Obojobo

Obojobo

  • Authors
  • Developers
  • GitHub

› Developers Section Topics

Getting Started

  • OboNode Structure
  • Text Content Conventions
  • Triggers and Actions

Misc Dev Topics

  • Obojobo Glossary
  • Question Selection Algorithm
  • Range Strings

Events Reference

  • Caliper Event Reference
  • Obojobo Event Reference

OboNode & Content Block Reference

  • ActionButton
  • Assessment
  • Assessment > rubric
  • Assessment > rubric > mod
  • Assessment > scoreAction
  • Break
  • Code
  • Content
  • Figure
  • Heading
  • HTML
  • IFrame
  • List
  • List > listStyle
  • List > listStyle > indent
  • Materia
  • MathEquation
  • MCAssessment
  • MCAssessment > MCChoice
  • MCAssessment > MCChoice > MCAnswer
  • MCAssessment > MCChoice > MCFeedback
  • Module
  • NumericAssessment
  • NumericAssessment > NumericChoice
  • NumericAssessment > NumericChoice > NumericAnswer
  • NumericAssessment > NumericChoice > NumericFeedback
  • Page
  • Question
  • QuestionBank
  • Table
  • Table > gridTextGroup
  • Text
  • textGroup
  • textGroup > textItem
  • textGroup > textItem > styleableText
  • textGroup > textItem > styleableText > styleList
  • trigger
  • trigger > action
  • YouTube

Table > gridTextGroup

Class: Content Block

A container that describes the size, shape, and text contents of a Table.

Properties

Property Required Type Description
numRows Required Integer Number of Rows in the table (1 or higher)
numCols Required Integer Number of Columns in the table (1 or higher)
textGroup Required textGroup Expects a textGroup with a number textItems equal to numRows * numCols. The items will be assigned to table cells in order, left to right, top to bottom, and wrapping to a new row every multiple of numCols.

Required Children

None

Variables Registered

None

Example

JSON

"textGroup": {
	"numRows": 2,
	"numCols": 2,
	"textGroup": [
		{
			"text": {
				"value": "First column heading"
			}
		},
		{
			"text": {
				"value": "Second column heading"
			}
		},
		{
			"text": {
				"value": "First column second row"
			}
		},
		{
			"text": {
				"value": "Second column second row"
			}
		}
	]
}

XML

<Table numRows="2" numCols="2" header="true">
  <textGroup>
    <t>First column heading</t>
    <t>Second column heading</t>
    <t>First column second row</t>
    <t>Second column second row</t>
  </textGroup>
</Table>
  • Properties
  • Required Children
  • Variables Registered
  • Example
    • JSON
    • XML
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida