GetLang function


Gives a language code on the base of, in the order:

- "lang" querystring within the page containing ErgoDataGrid has been called;
- the same page grid.name+"lang" cookie;
- navigator.language or navigator.browserLanguage.

if the first value is null given value is the next.


   Sintax

lang = grid.GetLang(name)

   Parameters

name   is the name utilized to memorize the grid working language in a cookie.



   Given value

Gives a string.