How to autofill page size dropdown in igGrid?
Hi,If you want to define custom page sizes then you should use igGridPaging.pageSizeList property like this://Initialize$(".selector").igGrid({ features : [ { name : "Paging", pageSizeList : [10, 20, 30] } ]});
Note: I'm not sure I understood your question correctly, so my answer may be wrong. Please clarify if this is not what you're looking for.
Hope this helps,Martin PavlovInfragistics, Inc
hi
Thanks for ur help. I want my page size dropdown should allow me to specify the page size by typing.
How am I suppose to configure that?
Hi Paruchuri Nagaraju,
There is no option for that, but you can implement a workaround.
Page size drop down is actually igEditor control which by default is read only. If you get the igEditor instance you can set its option readOnly to false.
(igEditor ID is constucted by appending "_editor" to the ID of igGrid.)
Here is how to do that:
Hope this helps,
Martin Pavlov
Infragistics, Inc.
Thanks for the help. I am able to do it now. I have one more question
Do igGrid supports column reordering or not? Is there any work around for that?
Column reordering will be available from 12.2 volume release. 12.2 will be shipped some time this autumn.
Best regards,
hi martin,
I have some questions which I am unable to get through.
1> What kind of events are available in the igGrid?
2> I have a typical requirement some thing like ,having the Grid which containes all the dropdowns in one of the column and when I place curser on cell it should enable the dropdown and allow us to choose the items from the dropdown.
3>How am I suppose to place the control inside another control?
4>In multicolumn dropdown data from the second column is not binding,when I used the item template. Do I need to configure any thing for that?
"<div><span class='cell first'>${Shipment_Id}</span><span class='cell middle'>(${Carrier})</span><span class='cell last'>(${Leading_Status})</span></div>"
Thanks
Here are the answers to your questions as follows:
Paruchuri Nagaraju said:1> What kind of events are available in the igGrid?
Paruchuri Nagaraju said:2> I have a typical requirement some thing like ,having the Grid which containes all the dropdowns in one of the column and when I place curser on cell it should enable the dropdown and allow us to choose the items from the dropdown.
Paruchuri Nagaraju said:3>How am I suppose to place the control inside another control?
Paruchuri Nagaraju said:4>In multicolumn dropdown data from the second column is not binding,when I used the item template. Do I need to configure any thing for that?