Hello ,
I am using RadFile explorer telerik control for upload file but in this when the rad fileexplorer is load i have made one method "OnClientload" so in this method I want to side some folder of the grid data at the time of load and disable the pointer events on that folder also so teh user not able to click on that folder.
For Example:
function OnClientLoad(explorer) {
var radExplorer = $find("RF1");
var getGrid = radExplorer.get_grid();
var table = getGrid.get_masterTableView();
var rows = table.get_dataItems();
for (var i = 0; i < rows.length; i++) {
var menuItem = rows[i];
if (menuItem.get_dataItem().Name == "catalog") {
$('.rgRow div:contains("catalog")').css('pointerEvents', 'auto');
$('.rgRow div:contains("catalog")').css('opacity', 0.4);
}}}
but in this code the pointer events class is not working on the folde
I am using RadFile explorer telerik control for upload file but in this when the rad fileexplorer is load i have made one method "OnClientload" so in this method I want to side some folder of the grid data at the time of load and disable the pointer events on that folder also so teh user not able to click on that folder.
For Example:
function OnClientLoad(explorer) {
var radExplorer = $find("RF1");
var getGrid = radExplorer.get_grid();
var table = getGrid.get_masterTableView();
var rows = table.get_dataItems();
for (var i = 0; i < rows.length; i++) {
var menuItem = rows[i];
if (menuItem.get_dataItem().Name == "catalog") {
$('.rgRow div:contains("catalog")').css('pointerEvents', 'auto');
$('.rgRow div:contains("catalog")').css('opacity', 0.4);
}}}
but in this code the pointer events class is not working on the folde