我们拥有一个拥有主机/尾窗的WPF数据网。 当你选择上层数据网的浏览时,详细情况见下级数据网。 我很想知道,在如何处理诸如:
- When the window first opens, no datarow is selected in the upper datagrid, and so no data can be displayed in the lower grid. Is this normal? Or is there typically an initial (top) row selected in the upper datagrid?
- When a row is selected and then deleted - does another row become the selected row? Or are you going to go to a no row selected state?
- If multiple rows can be selected, when happens in the lower datagrid? Show the last one selected? Or if delete is selected for these multiple objects, where is focus set? Or what row is selection?
我知道,根据说明书的撰写方式,可以以多种不同的方式处理这些问题,但我想知道,是否有一些标准的最佳做法? 或者,对于WPF数据网如何处理这些案件,是否有一些缺省业务?
thanks! Bill