fix for iDisplayLength not being set
Merge pull request #1541 from conejoninja/1539

1539