# Mobile Grid Block Element

Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | About

## Table of Contents

- 1 Mobile Grid Block Element - #mobilegridblock {}

## 1 Mobile Grid Block Element - #mobilegridblock {}

This element produces a block element for a container Mobile Grid Element.

### Usage

    #mobile_grid {
       columns=2
       body=[
          #mobile_grid_block{ text="Row 1, Cell 1" },
          #mobile_grid_block{ text="Row 1, Cell 2" },
          #mobile_grid_block{ text="Row 2, Cell 1" },
          #mobile_grid_block{ new_row = true, text="Row 3, Cell 1"},
          #mobile_grid_block{ text="Row 3, Cell 2"}
       ]
    }

### Attributes

new_row - (boolean)
  Set to true to short-circuit the automatic row/column layout and for the grid to start at the next row down.
body - (Nitrogen element or list of elements)
  Set the element(s) that will be rendered within this block.
text - (string)
  Set to the text of the block, instead of specifying Nitrogen elements.
html_encode - (boolean|whites|encoding fun)
  Set to true to have the text safely htmlencoded (default: 'true'). Set to 'whites' to also encode whitespace. Set to a function with arity 1 to have the contents encoded using that function.

### See Also

- jQuery mobile elements
- base element
- mobile grid element
- table element

Date: 2012-10-18 03:25:03 CDT

Author: Jesse Gumm (@jessegumm)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0

## Comments

Note:To specify code blocks, just use the generic code block syntax:

    <pre><code>your code here</code></pre>

comments powered by Disqus