Problems with Length dropdown

Problems with Length dropdown

kubiixkubiix Posts: 5Questions: 0Answers: 0
edited May 2011 in Bug reports
Hi,

I am using this amazing plugin, but I have found one little problem. I have defined custom values for the page length dropdown (10,25,50,100,All) menu and i also set option iDisplayLength and iDisplayStart every time i call .dataTable(...

I send actual iDisplayLength and iDisplayStart values to the edit page so when user returns, he returns to same page with same pagelength. The default iDisplayLength is 10 so it is the first option in dropdown. But when user switches to bigger value, then edits one row and returns back, the table is rendered right, but first option in the dropdown is selected, when Opera browser is used. FF, IE and Chrome are ok and right option is selected

thanks

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Can you link us to an example showing the problem please?

    Allan
  • kubiixkubiix Posts: 5Questions: 0Answers: 0
    edited May 2011
    [code]
    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>


    $(document).ready(function () {

    var oTable = $('#partnerlist').dataTable(
    {
    "sPaginationType": "digg_style", // vlastni strankovaci plugin
    "oLanguage": // ceska lokalizace
    {
    "sUrl": "../content/txt/cs_CZ.txt"
    },
    "bFilter": true, // zapnout prohled
This discussion has been closed.