Divelements Community
Customer discussion of all Divelements products

How to find a value in sandgrid without iterating each row and their nested rows ?

Latest post 09-30-2008 15:58 by dealsboy. 0 replies.
  • 09-30-2008 15:58

    How to find a value in sandgrid without iterating each row and their nested rows ?

    How to find a value in sandgrid without iterating each row and their nested rows ? Is there any better way we can do this ? Could you please help me with this issue .

     

    foreach (GridRow row in Form.KGrid.Rows)

                        {

                            var kRow = row.NestedRows;

     

                            foreach (GridRow cell in Row)

                            {

                                if (value.KId.ToString() == cell.Cells[0].GetValue().ToString())

                                {

                                    cell.Cells[1].SetValue(true);

                                }

                            }

                        }

     

    Thanks

    dealsboy

Page 1 of 1 (1 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems