Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Add default value in GridBox

Add default value in GridBox

Scheduled Pinned Locked Moved Visual Basic
questioncsshelp
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manju 3
    wrote on last edited by
    #1

    How can i insert any text(Default) under Column("Name") in the Grid Control
    I am able to initialize the colomn Names and add one row.Just need to add one default value under Column(Name)

    Please find the code below which i tried :

    Dim Col As HelixGrid.Column
    With grdText
    .Columns.Add "Name", heStringField, DataDictionary.HEXT_TICKET_SYSTEM, 2310 ' Insert Column name "Name"
    Set Col = .Columns.Add("Number", heVariant, DataDictionary.HEXT_TICKET_TICKETNUM, 2000) ' Insert Column name "Number"

                    If Not .Row = .Rows Then  '' Adds New Row
                        .Row = .Row
                        .InsertItem 1
                    Else
                        .AddItem
                    End If
                    
        End With
    

    Can anyone help me..Thanks in Advance Ouput Expected : Name Number '' I am able to get this Default '' I need to get this..?

    L 1 Reply Last reply
    0
    • M manju 3

      How can i insert any text(Default) under Column("Name") in the Grid Control
      I am able to initialize the colomn Names and add one row.Just need to add one default value under Column(Name)

      Please find the code below which i tried :

      Dim Col As HelixGrid.Column
      With grdText
      .Columns.Add "Name", heStringField, DataDictionary.HEXT_TICKET_SYSTEM, 2310 ' Insert Column name "Name"
      Set Col = .Columns.Add("Number", heVariant, DataDictionary.HEXT_TICKET_TICKETNUM, 2000) ' Insert Column name "Number"

                      If Not .Row = .Rows Then  '' Adds New Row
                          .Row = .Row
                          .InsertItem 1
                      Else
                          .AddItem
                      End If
                      
          End With
      

      Can anyone help me..Thanks in Advance Ouput Expected : Name Number '' I am able to get this Default '' I need to get this..?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Helixgrid is not part of the framework. For support, you'd contact the support-department of the vendor. VB6 by any chance? :)

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      M 1 Reply Last reply
      0
      • L Lost User

        Helixgrid is not part of the framework. For support, you'd contact the support-department of the vendor. VB6 by any chance? :)

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        M Offline
        M Offline
        manju 3
        wrote on last edited by
        #3

        Yes its a VB6..The control used is HelixGridcontrol.

        D 1 Reply Last reply
        0
        • M manju 3

          Yes its a VB6..The control used is HelixGridcontrol.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You'd have to get with the people who made the HelixGrid Control for support. It's extremely unlikely you're going to find anyone in any forum who has any experience with that control.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          L 1 Reply Last reply
          0
          • D Dave Kreskowiak

            You'd have to get with the people who made the HelixGrid Control for support. It's extremely unlikely you're going to find anyone in any forum who has any experience with that control.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Dave Kreskowiak wrote:

            You'd have to get with the people who made the HelixGrid Control for support.

            That is assuming that the company is still supporting it's VB6 component :laugh:

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

            D 1 Reply Last reply
            0
            • L Lost User

              Dave Kreskowiak wrote:

              You'd have to get with the people who made the HelixGrid Control for support.

              That is assuming that the company is still supporting it's VB6 component :laugh:

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              I couldn't even find a website for "HexGrid" controls.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups