Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
how align div combo template in iggrid cell?
posted

 hi,

I have combo template like below and need to align the whole thing to the right inside the iggrid cell,

how to do it?                       

     pagerRendered: function (evt, ui) {

                                               var dataSource = ui.dataSource.recordsForPage(ui.owner.pageIndex());

                                               $.each(dataSource, function (index, row) {

                                                     $("#grdlist_" + row.ProductID).igCombo({

                                                            dataSource: comboData,

                                                            textKey: "Name",

                                                            valueKey: "Name",

                                                            width: "200px",

                                                            autoComplete: true,

                                                            enableClearButton: false,

                                                            initialSelectedItems: [{ index: 0 }]

                                                     });

............................

                           rendered: function (evt, ui) {

                                 tmpl = "<div id=grdlist_${ProductID}></div>";

                                 $('#grid1').igGrid('setColumnTemplate', 'Name', tmpl);

                                 $("#grid").igGrid("dataBind");

                           }