Cireson Partners, Customers and Community members share your customizations and examples here to help benefit the community as a whole to earn Kudos and badges.
DISCLAIMER
All files and projects located here are provided and come "as-is" and without any warranty or support. Use at your own risk. Your use of Community Uploads is subject to our Terms of Use.
Cireson does not and will not support or maintain these enhancements, extensions, and scripts.
For Team Cireson uploads click here.
Open workitem in new tab from gridview
We have some users ho wants to open workitems in new tabs from the gridview like my work or team work.
I have stolen most of this code from @Martin_Blomgren and @Adam_Dzyacky and there might be some of the code that could be cleaner but it seems to work.
It changes the default rigt-arrow icon in the title coloum in gridview to an external-link icon and changes the default click behavior on icon to open in new tab or window.
I've attached the file - rename it frem .txt to .js
Comments
With this version it is also necessary to add a couple of lines to custom.css
Rename files from .txt to .js and .css
@Mikkel_Madsen
Very nice solution! Does is also work for view Search view?
I've testet it with search view and it is a yes an no answer
The link is appearing but the link is undefined since it's yet another way to build the gridview - its doable to modify the solution to work on search view to if it is combined with this solution from @Martin_Blomgren
https://community.cireson.com/discussion/1985/custom-single-work-item-edit-url-for-all-types#latest
If you want I can try to make a working solution in the next couple of weeks when time is available?
We don't you dashboard but can you please provide me with at screen shot and point out what you meen
@mikkel_madsen
That would be awesome of course! But are there more people with this issue? Before you invest a lot of time which only benefits our users.
The thing I need is being able to open search results of saved searches in a new tab. Usually you can open them by right click and select 'open in new tab', but with saved searches and watch list items you can't. Any other sollution is fine as wel of course.
I think this one will do it for you on searchview
@Brian_Wiest
Unfortunately I don't think it will du it for you - I have tried to get it to work on the standard watchlist page from the right menubar but it seems like the eventhandler fires to early so the kendogrid is not build up yet and therefor fails.
Attached is new version (only js file is updated)
This is really great, I will give this a go and let you know how it works for us! I do think it will take us longer to test it than you needed to write it (we have a lot of work at the moment), but as soon as I have some feedback I will post it ofcourse.
Thank you so much for the effort!
@Brian_Wiest
Give this one a try and see if it solves your problem
I don't use sql tables and dashboards yet but have a version 0.5 that I can put up here later to day.
Forgot to put it up - here it is
This one by @Ryan_Lane is going to be useful https://community.cireson.com/discussion/4410/how-to-trigger-assign-to-analyst-by-group#latest unfortunately i haven't got the time to test it yet.
Attached is the version we use right now.
@Mikkel_Madsen Hello!!!
Does this work for you in 10 version ?
@Keren_Marroquin Yes 😊
@Mikkel_Madsen Looks like the new Global Search has thrown a wrench in this code.
Instead of one [data-role=grid], there are now 3. Therefore, the
var gridElement = $('[data-role=grid]') // Get the grid object
fails to snag the kendoGrid.