vb.net - WPF Data gird row selection change event from selection change event -
i'm looking workaround issue i've noticed in project i'm working on. have datagrid bound list of class i've created. whenever user types in stock symbol in datagrid have roweditending event set pull in info populate other fields in datagrid.
this works fine, i've noticed event doesn't fire in instances. i'm going seek explain best can... upon info entry if come in info cell , click row on datagrid - focus doesn't shift new row shifts row containing cell entering info cell, if select row or input element row edit ending event doesn't appear fire , such code populate rest of row doesn't execute.
everything else fine, , it's pretty subtle issue, 1 path of input create happen, wondering if had run or found work-around?
i've been looking @ selection alter event, need able grab row selected. in row edit ending event use
dim newtrade trade = e.row.datacontext
to instance of class row represents , add together additional fields.
i'm not sure see way row , it's datacontext row shifted using selectionchangedeventargs.
any ideas workaround?
i sure tried best explain issue, still not clear. issue guess not generic info grid, seems specific code. please share xaml, .cs can dig deeper.
wpf vb.net datagrid
No comments:
Post a Comment