{"id":1973,"date":"2022-08-30T15:20:59","date_gmt":"2022-08-30T15:20:59","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/08\/how-to-collapse-and-expand-devexpress-master-detail-asp-net-gridview-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:20:59","modified_gmt":"2022-08-30T15:20:59","slug":"how-to-collapse-and-expand-devexpress-master-detail-asp-net-gridview-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/how-to-collapse-and-expand-devexpress-master-detail-asp-net-gridview-collection-of-common-programming-errors\/","title":{"rendered":"How to collapse and expand devexpress master\/detail asp.net gridview-Collection of common programming errors"},"content":{"rendered":"<p>First assign clientInstanceName to grid as:<\/p>\n<pre><code>\n<\/code><\/pre>\n<p>When you complete update or delete as you said call <code>grid.CollapseAllDetailRows();<\/code> after the operation that you have completed. or on ASPxClientGridView.DetailRowExpanding Event set the expanded detail row <code>visibleindex<\/code>. check the following code snippet and code as per your requirement.<\/p>\n<pre><code>\n     \n    \n    \n        var focusedIndex;\n    \n\n\n    \n    \n        \n            \n            \n            \n        \n        \n            \n        \n    \n    \n\n\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-12-08 01:21:02. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>First assign clientInstanceName to grid as: When you complete update or delete as you said call grid.CollapseAllDetailRows(); after the operation that you have completed. or on ASPxClientGridView.DetailRowExpanding Event set the expanded detail row visibleindex. check the following code snippet and code as per your requirement. var focusedIndex; Originally posted 2013-12-08 01:21:02.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1973","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1973"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1973\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}