Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

SuperDom Control Type

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SuperDom Control Type

    Hi, I'm trying to modify the superdom to suit my needs.

    Can the NT8 team tell whats the control used in superdom, is a listview, listbox, datagrid or something custom but based on something that I can use for.

    I've tried to use the listview with a gridview inside, but I am facing some performance issues.

    Thanks in advance.

    #2
    Hello vargaslucas,

    Thanks for your post, and welcome to the forums!

    Using the Microsoft Inspect tool we can see that SuperDOM is a custom control. As for making your own modifications, you could treat the SuperDOM control as a grid and then find a grid within that grid to then add/remove rows and controls.

    We have an example on our EcoSystem User App Share that demonstrates how modifications to the SuperDOM window can be done from the context of an AddOn. WPF modifications are technically unsupported since an internal change may break the modifications, however, if you have any other questions on what can be done, we will be happy to assist you further.

    Add Buttons to SuperDOM - https://ninjatraderecosystem.com/use...s-to-superdom/

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    I've also included some information on using the Inspect tool which can be useful for obtaining Automation IDs for NinjaTrader controls.

    Video on using Inspect: https://www.screencast.com/t/AyyNpE2NyE

    Windows SDK: https://developer.microsoft.com/en-u...indows-8-1-sdk

    Further information on Inspect can be found here: [url]https://msdn.microsoft.com/en-us/library/windows/desktop/dd318521(v=vs.85).aspx

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Thank you Jim for the quick answer.

      I'm using this listview with and observableCollection binded to it, but when the market gets too fast, my addon window just get stuck.

      I saw that the superdom don't updated that quickly too, specially on the opening, it gets a little laggy.

      I guess I'll try to optimize the way that a I update my list, right now I get updates from 3 different events, MarketDepth, MarketData and BarsUpdate.

      Thank you again Jim, have a nice day.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X