Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Search box in titlebar
Gurpreet
There is a search box in title bar which appears on most Eikon controls. It disappears from the page, as soon as JET API is initialized. My questions are:
1. How to keep that search box in title bar?
2. How can JET API app tap into the semantic search being performed in there?
Thanks,
Gurpreet
Find more posts tagged with
eikon
jet
refinitiv-internal
Accepted answers
Tampong Yooyen
There is an example in *JET.js - Tutorials and Demos* page.
- You can open the page in Eikon by this url: [cpurl://apps.cp./Apps/jet][1]
- Or go to Eikon Apps Menu -> Internal -> JET.js - Tutorials and Demos
In the left menu, choose *Core Functionality* and then *Enable Command Line*
Copied from the example to answer your question:
1. To keep the search box when initialize JET:
JET.init({
ID: "JETSample",
Toolbar: {
commandBars: [{
items: [{
item: "Search"
}]
}]
}
});
2. You could listen on contextChange event:
JET.onContextChange(function (contextData) {
$("#context").val(JSON.stringify(contextData, undefined, 2))
})
Hope this helps.
[1]:
http://cpurl://apps.cp./Apps/jet
All comments
Tampong Yooyen
There is an example in *JET.js - Tutorials and Demos* page.
- You can open the page in Eikon by this url: [cpurl://apps.cp./Apps/jet][1]
- Or go to Eikon Apps Menu -> Internal -> JET.js - Tutorials and Demos
In the left menu, choose *Core Functionality* and then *Enable Command Line*
Copied from the example to answer your question:
1. To keep the search box when initialize JET:
JET.init({
ID: "JETSample",
Toolbar: {
commandBars: [{
items: [{
item: "Search"
}]
}]
}
});
2. You could listen on contextChange event:
JET.onContextChange(function (contextData) {
$("#context").val(JSON.stringify(contextData, undefined, 2))
})
Hope this helps.
[1]:
http://cpurl://apps.cp./Apps/jet
Gurpreet
Thanks that was exactly what I wanted
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act