Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/336.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# DevExpress GroupRow-获取有关属于该GroupRow的数据行的信息_C#_Asp.net_Asp.net Mvc_Gridview_Devexpress - Fatal编程技术网

C# DevExpress GroupRow-获取有关属于该GroupRow的数据行的信息

C# DevExpress GroupRow-获取有关属于该GroupRow的数据行的信息,c#,asp.net,asp.net-mvc,gridview,devexpress,C#,Asp.net,Asp.net Mvc,Gridview,Devexpress,如果我按某个参数对网格进行分组,是否有任何方法会返回给我,比如说,该组中所有元素的名称列表。 e、 我有一个汽车网格,我按国家对它们进行分组。然后我点击“德国”分组行。我是否可以在某些按钮上设置任何功能,例如“导出选定的车辆”,该功能将返回该组中的所有车辆名称Row此信息只能使用服务器代码获取。例如: List<object> GetGroupNames(int groupRowVisibleIndex){ List<object> result = new List

如果我按某个参数对网格进行分组,是否有任何方法会返回给我,比如说,该组中所有元素的名称列表。
e、 我有一个汽车网格,我按国家对它们进行分组。然后我点击“德国”分组行。我是否可以在某些按钮上设置任何功能,例如“导出选定的车辆”,该功能将返回该组中的所有车辆名称Row

此信息只能使用服务器代码获取。例如:

List<object> GetGroupNames(int groupRowVisibleIndex){
  List<object> result = new List<string>();
  int childCount = ASPxGridView1.GetChildRowCount(groupRowIndex);

  for(int i = 0; i < childCount; i ++)  
    result.Add(ASPxGridView1.GetChildRowValues(groupRowVisibleIndex, i, "CarName"));
}
列出GetGroupName(int-groupRowVisibleIndex){
列表结果=新列表();
int childCount=ASPxGridView1.GetChildRowCount(groupRowIndex);
for(int i=0;i
以下是指向文档的链接,您可以在其中找到我在此代码中使用的所有方法的说明: