Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Grid Category order

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

    Custom Grid Category order

    Is there something like "Gui.CategoryOrder" in NT7?
    I'd like to sort my custom GridCategories non-alphabetical.

    #2
    Hello td_910,

    Thanks for your post.

    There is not a similar property that I would recommend and my advise would be to add "/t" for each GridCategory that you would like to have listed before another. You may follow the same direction as is linked below for appending /t to DisplayName to have a GridCategory list first.



    Code:
    #region Properties
    [Description("")]
    [GridCategory("Parameters")]
    [Gui.Design.DisplayName ("MyInput1")]
    public int MyInput1
    {
        get { return myInput1; }
        set { myInput1 = Math.Max(1, value); }
    }
    
    [Description("")]
    [GridCategory("[B]\t[/B]Parameters2")]
    [Gui.Design.DisplayName ("MyInput2")]
    public int MyInput2
    {
        get { return myInput2; }
        set { myInput2 = Math.Max(1, value); }
    }

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

    Comment


      #3
      that is perfect, thanks a lot

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      169 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      88 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      128 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      208 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      185 views
      0 likes
      Last Post CarlTrading  
      Working...
      X