Issue with Pagination Type (Full_Numbers) in IE and Chrome
Issue with Pagination Type (Full_Numbers) in IE and Chrome
Hi ,
I have a datatable with multiple records and i wish to use HTML ( Select)- Dropdown- Element instead of Listing all the Page Numbers at the Footer of the Table , The user can choose the Page from Select Dropdown . So I edited the Code in [quote]fnUpdate function of full_numbers as shown below [/quote] . The Code works fine in Firefox and IE9. But In IE 8 and Chrome the Listener is Not getting called Upon the Change of the Option
[code]
/* Build the dynamic list */
// Added by ratsimha
sList = '';
for ( i=iStartButton ; i<=iEndButton ; i++ )
{
sList += (iCurrentPage !== i) ?
/*
''+oSettings.fnFormatNumber(i)+'' :
''+oSettings.fnFormatNumber(i)+'';
*/
''+oSettings.fnFormatNumber(i)+'' :
''+oSettings.fnFormatNumber(i)+'';
}
/* var sList = sList+ '
I have a datatable with multiple records and i wish to use HTML ( Select)- Dropdown- Element instead of Listing all the Page Numbers at the Footer of the Table , The user can choose the Page from Select Dropdown . So I edited the Code in [quote]fnUpdate function of full_numbers as shown below [/quote] . The Code works fine in Firefox and IE9. But In IE 8 and Chrome the Listener is Not getting called Upon the Change of the Option
[code]
/* Build the dynamic list */
// Added by ratsimha
sList = '';
for ( i=iStartButton ; i<=iEndButton ; i++ )
{
sList += (iCurrentPage !== i) ?
/*
''+oSettings.fnFormatNumber(i)+'' :
''+oSettings.fnFormatNumber(i)+'';
*/
''+oSettings.fnFormatNumber(i)+'' :
''+oSettings.fnFormatNumber(i)+'';
}
/* var sList = sList+ '
This discussion has been closed.