Search found 11 matches

by shnar
Thu Jun 20, 2019 7:09 pm
Forum: Components
Topic: Adding select options at runtime
Replies: 3
Views: 351

Re: Adding select options at runtime

Thanks for the response, but it didn't quite answer my two questions: 1) I have the <SELECT> component as "display:hidden". Because of this, it looks like it's not getting updated to be a MetroUI select control. I need it hidden at first, then displayed based on the Ajax response. How do I hide then...
by shnar
Fri Jun 14, 2019 4:09 am
Forum: Components
Topic: Adding select options at runtime
Replies: 3
Views: 351

Adding select options at runtime

I have a normal <select> dropdown list that I am populating at runtime. I'm trying to switch out to the MetroUI's version, which I was hoping would be as simple as adding 'data-role="select"', unfortunately I'm having some issues. Issue 1, hidden at first, displayed if more than one value. My <selec...
by shnar
Tue Jan 22, 2019 6:46 pm
Forum: Components
Topic: Child component override tile click?
Replies: 3
Views: 689

Re: Child component override tile click?

Just for future reference, the event I needed to stopPropagation in was the mousedown event, not the click event.

-shnar
by shnar
Thu Jan 17, 2019 5:58 pm
Forum: Components
Topic: Input with search button not showing when ajaxed in
Replies: 4
Views: 650

Re: Input with search button not showing when ajaxed in

That makes sense. But one other issue I'm having is the Search button itself just isn't appearing. Is there something I need to do after the ajax call to get that to appear? Or did I set a property value wrong?

-shnar
by shnar
Thu Jan 17, 2019 2:16 pm
Forum: Components
Topic: Input with search button not showing when ajaxed in
Replies: 4
Views: 650

Input with search button not showing when ajaxed in

I'm ajaxing a <form> into my page, and it only has one input that I'd like to have a search button on and no clear button. I have this as my code: <form action="javascript:" onSubmit="orderSearch()" style="margin:10px;"> <input type="text" id="OrderSearchOrderNumber" name="OrderSearchOrderNumber" da...
by shnar
Mon Dec 03, 2018 5:03 pm
Forum: Components
Topic: Child component override tile click?
Replies: 3
Views: 689

Re: Child component override tile click?

Thanks, worked like a charm. I kind of thought this would be a normal html/javascript question, not a metroui question.

-shnar
by shnar
Thu Nov 29, 2018 7:28 pm
Forum: Components
Topic: Child component override tile click?
Replies: 3
Views: 689

Child component override tile click?

I have a table on a div with overflow:auto enabled on a Tile that I want when a user clicks on it (say for example clicks on a TH or on the Scrollbar, etc) that it does *not* invoke the Tile click. Is that a possibility?

-shnar
by shnar
Thu Nov 29, 2018 7:26 pm
Forum: Components
Topic: [SOLVED] Make a Tile a Link?
Replies: 2
Views: 571

Re: Make a Tile a Link?

Worked great, thanks.

-shnar
by shnar
Wed Nov 28, 2018 3:19 pm
Forum: Components
Topic: [SOLVED] Make a Tile a Link?
Replies: 2
Views: 571

[SOLVED] Make a Tile a Link?

I have a need that to make a Tile a link to another page. I added some javascript code on the onclick event to navigate to the page and that works fine, but it's not acceptable to the client since they want to "right-click, open-in-new-tab". I tried adding an <a> tag surrounding the <div data-role="...
by shnar
Wed Nov 28, 2018 3:16 pm
Forum: Components
Topic: [SOLVED] CalendarPicker not respecting date format
Replies: 2
Views: 537

Re: CalendarPicker not respecting date format

That worked. Thanks a bundle.

-shnar