Skip to content

Commit

Permalink
Matrix for mobile (details) #7185
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Novikov committed Oct 27, 2023
1 parent 2f893bb commit 493e77b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/question_matrixdropdownrendered.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class QuestionMatrixDropdownRenderedRow extends Base {
@property({ defaultValue: false }) isGhostRow: boolean;
@property({ defaultValue: false }) isAdditionalClasses: boolean;
@property({ defaultValue: true }) visible: boolean;
public hasEndActions: boolean;
public hasEndActions: boolean = false;
public row: MatrixDropdownRowModelBase;
public isErrorsRow = false;
private static counter = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</tr>
</thead>
<tbody>
<tr class="sd-table__row sd-table__row--has-end-actions" data-sv-drop-target-matrix-row="testid0row0">
<tr class="sd-table__row" data-sv-drop-target-matrix-row="testid0row0">
<td class="sd-table__cell sd-table__cell--row-text" colspan="1" data-responsive-title="row1" title="">
<span class="sv-string-viewer">row1</span>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>
</td>
</tr>
<tr class="sd-table__row sd-table__row--has-end-actions" data-sv-drop-target-matrix-row="testid0row1">
<tr class="sd-table__row" data-sv-drop-target-matrix-row="testid0row1">
<td class="sd-table__cell sd-table__cell--row-text" colspan="1" data-responsive-title="row1" title="">
<span class="sv-string-viewer">row1</span>
</td>
Expand Down
4 changes: 2 additions & 2 deletions tests/markup/snapshots/matrixdropdown-vertical.snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</tr>
</thead>
<tbody>
<tr class="sd-table__row sd-table__row--expanded sd-table__row--has-end-actions sd-table__row--has-panel">
<tr class="sd-table__row sd-table__row--expanded sd-table__row--has-panel">
<td class="sd-table__cell sd-table__cell--column-title sd-table__cell--row-text" colspan="1" data-responsive-title="" title="">
<span class="sv-string-viewer">
</span>
Expand All @@ -29,7 +29,7 @@
</div>
</td>
</tr>
<tr class="sd-table__row sd-table__row--expanded sd-table__row--has-end-actions sd-table__row--has-panel">
<tr class="sd-table__row sd-table__row--expanded sd-table__row--has-panel">
<td class="sd-table__cell sd-table__cell--column-title sd-table__cell--row-text" colspan="1" data-responsive-title="" title="">
<span class="sv-string-viewer">
</span>
Expand Down
4 changes: 2 additions & 2 deletions tests/markup/snapshots/matrixdropdown.snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</tr>
</thead>
<tbody>
<tr class="sd-table__row sd-table__row--has-end-actions" data-sv-drop-target-matrix-row="testid0row1">
<tr class="sd-table__row" data-sv-drop-target-matrix-row="testid0row1">
<td class="sd-table__cell sd-table__cell--row-text" colspan="1" data-responsive-title="Row 1" title="">
<span class="sv-string-viewer">Row 1</span>
</td>
Expand All @@ -30,7 +30,7 @@
</div>
</td>
</tr>
<tr class="sd-table__row sd-table__row--has-end-actions" data-sv-drop-target-matrix-row="testid0row3">
<tr class="sd-table__row" data-sv-drop-target-matrix-row="testid0row3">
<td class="sd-table__cell sd-table__cell--row-text" colspan="1" data-responsive-title="Row 2" title="">
<span class="sv-string-viewer">Row 2</span>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</tr>
</thead>
<tbody>
<tr class="sd-table__row sd-table__row--has-end-actions" data-sv-drop-target-matrix-row="testid0row1">
<tr class="sd-table__row" data-sv-drop-target-matrix-row="testid0row1">
<td class="sd-table__cell sd-table__cell--row-text" colspan="1" data-responsive-title="row1" title="">
<span class="sv-string-viewer">row1</span>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</tr>
</thead>
<tbody>
<tr class="sd-table__row sd-table__row--has-end-actions" data-sv-drop-target-matrix-row="testid0row1">
<tr class="sd-table__row" data-sv-drop-target-matrix-row="testid0row1">
<td class="sd-table__cell sd-table__cell--row-text" colspan="1" data-responsive-title="row1" title="">
<span class="sv-string-viewer">row1</span>
</td>
Expand Down

0 comments on commit 493e77b

Please sign in to comment.