Home Forums WPF controls Xceed DataGrid for WPF change the Background and move scroll in selecteItem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25617 |

    hello:

    the DataGrid is display on screen. when I am selecting a row, the background change a another color. But when I am selecting a row under code, the background don’t appear and scroll continue static. I need to focusing the row with a background’s color and that scroll can move at row

    somebody help me?

    Imported from legacy forums. Posted by cams_aries2 (had 2846 views)

    User (Old forums)
    Member
    Post count: 23064

    the code is:

    System.Data.DataRow fila = ds.Tables[0].NewRow();
    ds.Tables[0].Rows.InsertAt(fila, GridPrueba.Items.Count);
    GridPrueba.SelectedIndex = GridPrueba.Items.Count – 1;

    Imported from legacy forums. Posted by cams_aries2 (had 310 views)

    Xceed Support
    Member
    Post count: 5658

    Hi,

    To bring a particular item into view, you can use the following function:

    http://doc.xceedsoft.com/products/XceedWpfDataGrid/Xceed.Wpf.DataGrid~Xceed.Wpf.DataGrid.DataGridControl~BringItemIntoView.html

    If this does not address your need, please feel free to let me know.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 304 views)

    User (Old forums)
    Member
    Post count: 23064

    Hello Marcus:

    Thank you. The answers is very nice.

    Imported from legacy forums. Posted by cams_aries2 (had 4065 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.