Check whether an array element is undefined or not in jQuery
This will help you to check whether an array element is undefined or not in jquery
[js]
if (typeof localHeaderColumnArray[0] != ‘undefined’ ) {
}
else {
}
[/js]
Here localHeaderColumnArray is my local array