• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 tff2011, Today, 06:43 AM
      0 responses
      2 views
      0 likes
      Last Post tff2011
      by tff2011
       
      Started by daigo1, Yesterday, 04:41 PM
      1 response
      27 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by concept, Yesterday, 04:22 PM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Started by Erwin Beckers, 08-06-2019, 11:54 AM
      2 responses
      42 views
      0 likes
      Last Post johnvnwp  
      Started by Branpo, 01-28-2020, 06:10 AM
      3 responses
      27 views
      0 likes
      Last Post Harvard
      by Harvard
       
      Working...
      X