question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom widgets in matrixdynamic

See original GitHub issue

Hello, my intention is to embed select2tagbox in matrixdynamic. Is there any generic way to do so?

Using JQuery I’m trying to override the ‘cellType’ property of matrixdropdownbase class

JsonObject.metaData.addClass("matrixdropdownbase", [ ..... { name: "cellType", default: "dropdown", choices: ["dropdown", "checkbox", "radiogroup", "text", "comment"] } ..... ],

with select2tagbox property (as mentioned in the select2tagbox example) but I’m not sure if it’ll work.

Is this feasible ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:52 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
fullstack-jackcommented, Aug 8, 2017

I’ve found an issue with my application where I’m trying to use a custom widget within a dynamic matrix. It seems to also exist in the plunk mentioned above (plunk) so thought you might be able to offer some advice.

If you have multiple rows in the dynamic matrix and then click the remove button on the first row the last row gets removed. Other rows will do the same, always removing the last row. Interestingly, the correct element in the dynamic matrix data array is removed i.e. the data is correct but the display is wrong.

I’ve seen this issue in IE and Firefox. Any help would be greatly appreciated.

1reaction
nategasmcommented, May 29, 2017

@tsv2013 That seems to almost work, but there are still some really weird issues in that fiddle. Here is one example with exact steps: On page 1 fill out the first matrix row completely Add a second row, fill in 1st column, then 2nd column. After filling 2nd column, the date value of the first row is cleared. If you continue changing the values on the 2nd row, it will then sometimes change the values on the 1st row.

Another example: Fill out 1 row of matrix on page 1. Go to page 2 and fill out 1 matrix row. Go back to page 1 and the date value is gone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Widget in matrix dynamic - surveyjs Support
Custom Widget in matrix dynamic ... I have created a custom widget and incorporate in matrix dynamic.Choices are not reflected in survey editor....
Read more >
Custom widgets in matrixdynamic · Issue #384 - GitHub
I've found an issue with my application where I'm trying to use a custom widget within a dynamic matrix. It seems to also...
Read more >
How to adjust the columns in Matrix Dynamique Widget?
How to adjust the columns in Matrix Dynamique Widget? · 1. Click Matrix Dynamique Widget Settings · 2. Select the Custom CSS option...
Read more >
Create a Matrix Widget - Cherwell Help
Use the Matrix Widget Properties window (accessed from within the Widget Manager) to create a Matrix Widget . To create a Matrix Widget:...
Read more >
DynamicTable - Matrix - Widget isPersistable Not Defined
A bug like this was fixed in treetable. File an issue in https://github.com/JelteMX/mendix-dynamic-table.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found