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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Data Grid ..

Data Grid ..

Scheduled Pinned Locked Moved ASP.NET
javascriptcssdatabasedesigntutorial
3 Posts 2 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.
  • N Offline
    N Offline
    nandhububbly
    wrote on last edited by
    #1

    hi .. i want to know how to access database and insert row in datagrid using javascipt. this is my existing code View asp:BoundColumn DataField="CareDateTo" HeaderText="Date To" DataFormatString="{0:dd/MM/yyyy}"> asp:BoundColumn DataField="ReasonForChange" HeaderText="Reason For Change"> asp:BoundColumn DataField="FundingAuthority" HeaderText="Funding Authority"> asp:TemplateColumn HeaderText="Risk at Home"> i need existing from to javascript like below var grid = new AW.UI.Grid; grid.setId("myGrid"); grid.setHeaderText("header"); grid.setCellText(function(col, row){return col + "-" + row}); grid.setColumnCount(10); grid.setRowCount(1000);</x-turndown>

    C 1 Reply Last reply
    0
    • N nandhububbly

      hi .. i want to know how to access database and insert row in datagrid using javascipt. this is my existing code View asp:BoundColumn DataField="CareDateTo" HeaderText="Date To" DataFormatString="{0:dd/MM/yyyy}"> asp:BoundColumn DataField="ReasonForChange" HeaderText="Reason For Change"> asp:BoundColumn DataField="FundingAuthority" HeaderText="Funding Authority"> asp:TemplateColumn HeaderText="Risk at Home"> i need existing from to javascript like below var grid = new AW.UI.Grid; grid.setId("myGrid"); grid.setHeaderText("header"); grid.setCellText(function(col, row){return col + "-" + row}); grid.setColumnCount(10); grid.setRowCount(1000);</x-turndown>

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      It's not a datagrid, it's a table on the client side. You need to add rows to the client side table. A repeater is probably better for you to control how things are laid out for the javascript.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      N 1 Reply Last reply
      0
      • C Christian Graus

        It's not a datagrid, it's a table on the client side. You need to add rows to the client side table. A repeater is probably better for you to control how things are laid out for the javascript.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        N Offline
        N Offline
        nandhububbly
        wrote on last edited by
        #3

        hi..Christian Graus thank u soo much i will try that . thank u once again.. reg nanth

        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