<bs:matrix>
@type = radio-one
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Week 1
Week 2
Week 3
Week 4
Week 5
datatype: integer
−
<bs:matrix type="radio-one" layout="button" name="matrix" datatype="integer" xmlns:bs="http://www.bootstrap-cms.org">
+
<bs:col code="m" padding-top="2">
<bs:title>Mon</bs:title>
</bs:col>
[1 lines]
+
<bs:col code="t" padding-top="2">
<bs:title>Tue</bs:title>
</bs:col>
[1 lines]
+
<bs:col code="w" padding-top="2">
<bs:title>Wed</bs:title>
</bs:col>
[1 lines]
+
<bs:col code="th" padding-top="2">
<bs:title>Thu</bs:title>
</bs:col>
[1 lines]
+
<bs:col code="f" padding-top="2">
<bs:title>Fri</bs:title>
</bs:col>
[1 lines]
+
<bs:col code="s" padding-top="2">
<bs:title>Sat</bs:title>
</bs:col>
[1 lines]
+
<bs:col code="su" padding-top="2">
<bs:title>Sun</bs:title>
</bs:col>
[1 lines]
+
<bs:row code="week1" padding-bottom="1">
<bs:title>Week 1</bs:title>
<bs:button/>
<bs:button>1</bs:button>
<bs:button>2</bs:button>
<bs:button>3</bs:button>
<bs:button>4</bs:button>
<bs:button>5</bs:button>
<bs:button>6</bs:button>
</bs:row>
[8 lines]
+
<bs:row code="week2" padding-bottom="1">
<bs:title>Week 2</bs:title>
<bs:button>7</bs:button>
<bs:button>8</bs:button>
<bs:button>9</bs:button>
<bs:button>10</bs:button>
<bs:button>11</bs:button>
<bs:button>12</bs:button>
<bs:button>13</bs:button>
</bs:row>
[8 lines]
+
<bs:row code="week3" padding-bottom="1">
<bs:title>Week 3</bs:title>
<bs:button>14</bs:button>
<bs:button>15</bs:button>
<bs:button>16</bs:button>
<bs:button>17</bs:button>
<bs:button>28</bs:button>
<bs:button>19</bs:button>
<bs:button>20</bs:button>
</bs:row>
[8 lines]
+
<bs:row code="week4" padding-bottom="1">
<bs:title>Week 4</bs:title>
<bs:button>21</bs:button>
<bs:button>22</bs:button>
<bs:button>23</bs:button>
<bs:button>24</bs:button>
<bs:button>25</bs:button>
<bs:button>26</bs:button>
<bs:button>27</bs:button>
</bs:row>
[8 lines]
+
<bs:row code="week5" padding-bottom="1">
<bs:title>Week 5</bs:title>
<bs:button>28</bs:button>
<bs:button>29</bs:button>
<bs:button>30</bs:button>
<bs:button>31</bs:button>
<bs:button/>
<bs:button/>
<bs:button/>
<bs:button/>
</bs:row>
[9 lines]
</bs:matrix>
[60 lines]
Mon Tue Wed Thu Fri Sat Sun Week 1 1 2 3 4 5 6 Week 2 7 8 9 10 11 12 13 Week 3 14 15 16 17 28 19 20 Week 4 21 22 23 24 25 26 27 Week 5 28 29 30 31
Radio Matrix only works with @splitter = code, flat or repeat.
Key Attributes
| Attribute | Value | Purpose | Example |
|---|---|---|---|
| @name | xs:string | Data binding | D_VALUE |
| @value | xs:string | default load value | |
| @splitter | repeat | code | flat | {separator} | multiple values | [] , [{row}][{col}], [{row}-{col}], ';' |
@splitter = {separator} only works for radio and checkbox.