Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
ClientSettings
>
ClientEvents
OnRowCreated
=
"RowCreated"
/>
</
<script type=
"text/javascript"
function
RowCreated(sender, args)
{
var
grid = sender;
if
(args._itemIndexHierarchical > 2)
masterTableView = grid.get_masterTableView();
masterTableView.get_dataItems()[args._itemIndexHierarchical - 1].set_visible(
false
);
}
</script>
asp:Button
ID
"Button5"
runat
"server"
OnClientClick
"ShowRow(); return false;"
Text
"Show item"
ShowRow()
grdDeparture = $find(
"<%=RadGrid1.ClientID %>"
masterTableView = grdDeparture.get_masterTableView();
count = masterTableView.get_dataItems().length;
for
(
i = 0; i < count; i++)
(!masterTableView.get_dataItems()[i].get_visible())
masterTableView.get_dataItems()[i].set_visible(
true
break
;