Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
49
How to manually adding cell in ultraWebGrid
posted

I want to put some value in the ultraWebGrid. This is my code:

uwg = new UltraWebGrid();

 UltraGridRow ugRow = new UltraGridRow();
 uwg.Rows.Add(ugRow);

UltraGridCell ugCell = new UltraGridCell();
 uwg.Rows[Convert.ToInt32(rowTest["DTC01"])].Cells.Add(ugCell);
                                    uwg.Rows[Convert.ToInt32(rowTest["DTC01"])].Cells[Convert.ToInt32(rowTest["DTC02"])].Value = "allo";
wb.ContentPane.Controls.Add(uwg);

For me, I think this code can display "allo". I receive "no data can be display"

Why? and I want the text "allo" appear like a hyperLinkButton

Anyway Im lost, any help can be good.

Gabriel Deschênes

Parents Reply Children