Skip to main content
1-Visitor
June 28, 2017
Solved

Focus on Textbox After Mashups Load

  • June 28, 2017
  • 1 reply
  • 1911 views

Hello Thingworx Community!

I am having an issue with keeping the focus on a certain textbox after my mashup loads and I'm hoping someone has a solution or an idea on how to go about helping me with this problem!

I have a mashup and in that mashup I have a contained mashup.  The contained mashup has a grid within it.  When the mashup first loads, the focus is on the textbox I want. But then as soon as the contained mashups grid loads, the focus jumps to that grid. I can't seem to figure out a way to stop the focus from jumping to the grid in the contained mashup and keeping it on the textbox I need the focus to be on.

Any ideas?

Thanks for your help!

Best answer by posipova

What if you place the contained mashup widget on your main mashup after placing the textbox on it? Such as this

When I do that, the focus is on the textbox.

1 reply

posipova20-TurquoiseAnswer
20-Turquoise
June 29, 2017

What if you place the contained mashup widget on your main mashup after placing the textbox on it? Such as this

When I do that, the focus is on the textbox.