Doc.Button and Doc.Input are simple shorthands for the HTML tags button and input, you can just use those directly and wire the reactive logic manually if the UI library overrides the basic mechanics. Although you might just be OK just passing the right CSS classes in the above version too.

By on 8/25/2019 12:09 AM ()

Thank you very much for your answer. I remember I tried with inputs and buttons. I used the attr.value of the input and the on.click of the button. No success. I also tried to inline a contrived JQuery(el).Click at the on.afterRender. No luck. Then I opened this post. If I remove all the Metro4 (the issue is the script but it makes no sense to keep only the style) and I remain with a working as expected vanilla table, can you please suggest a valid alternative to add a standard pagination to such table? Thank you again very much

By on 8/25/2019 12:47 AM ()

Update

As an alternative to Metro 4, I've found the Bootstrap MD basic example

with

1
2
3
4
5

table [ attr.class "table table-striped table-bordered";
attr.cellspacing "0"; attr.width "100%";
on.afterRender (fun el ->
JQuery.Of(el)?DataTable()
)][

and it seems like it's working.

P.S. Just curious what was the issue with Metro script but I can accept my workaround with Material Design Bootstrap as a good solution for now.

By on 8/25/2019 3:20 AM ()