Data Grid ..
-
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>
-
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>
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 )
-
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 )
hi..Christian Graus thank u soo much i will try that . thank u once again.. reg nanth