Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
580
Not Getting Columns Count in JAVA Script
posted

Hi,

I am new to Infragistics & WebHierarchicalDataGrid. I am trying to get the binding columns count of grid control thru JAVA script. I have written following code,

 

<script type="text/javascript" id="igClientScript">

   function GetColumns() {

           var Grid = $find('WebHierarchicalDataGrid1');

           alert(Grid);

           var row = Grid.get_columns();

           alert(row);

        }

</script>

I am getting following error at line#3 in GetColumns (Grid.get_columns()) function of JS.

JavaScript runtime error: Object doesn't support property or method 'get_columns'

 

Do I need to explicitly add any additional JS file?

Can any one help me, how do I use all JS functions of WebHierarchicalDataGrid?

 

Thanks,

Yogesh

Parents
No Data
Reply Children
No Data