Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lalitsingh

Pages: [1]
1
Help for ParamQuery Grid (free version) / pqGrid with redmond theme
« on: January 03, 2014, 01:05:09 pm »
Hi,

How can i use redmond theme for pqGrid

Regards,

lalit singh

2
i tried above code as also mentioned in demos. but it is not working.

do i have to already keep table with dropdown created or it will generate dropdown dynamically. ?

3
Hi ,

I am using custom editing  grid section from the demos, i am using dropDownEditor, i found that there is one function

 var dropDownEditor = function (ui, arr) {
                    debugger;
                    var $cell = ui.$cell, data = ui.data, rowIndx = ui.rowIndxPage, colIndx = ui.colIndx;
                    var dataCell = $.trim(data[rowIndx][colIndx]);
                    var str = "";
                    for (var i = 0; i < arr.length; i++) {
                        if (dataCell == arr)
                            str += "<option selected>" + arr + "</option>";
                        else str += "<option>" + arr + "</option>";
                    }
                    var $sel = $("<select>" + str + "</select>")
                        .appendTo($cell);
                }

from where does "ui" parameter be passed , i am seeing it shows undefined.

i have kept in body of my html page as   <div id="grid_custom_editing" style="width: 100%;"></div>.

please let me know what ui will contain.

Regards,

Lalit Singh

4
Help for ParamQuery Grid (free version) / Re: use select input on grid
« on: December 27, 2013, 11:39:29 am »
Thanks for your valuable reply.

i am able to find the for loop in edit row section. i am able to achieve the dropdown on popup window , but after adding it shows text value on grid, not dropdown. for your understanding below is my html table. can you guide me if you have such template or demos

<table id="market_table" style="width: 100%; display: none;">
        <thead>
            <tr>
                <th>H1</th>
                <th>H2</th>
                <th>H3</th>
                <th>H4</th>
                <th>H5</th>
                <th>H6</th>
            </tr>
        </thead>
        <tbody id="tableID">
            <tr>
                <td>
                    <input name="listofprojects" type="text"></td>
                <td>
                    <select name="source">
                        <option>Solicited</option>
                        <option>Proactive</option>
                    </select></td>
                <td>
                    <select name="solicited">
                        <option>Defend</option>
                        <option>Attack</option>
                    </select></td>
                <td>
                    <select name="segment">
                        <option>Fine Fragrance</option>
                        <option>Body Care</option>
                        <option>Home Care</option>
                    </select></td>
                <td>
                    <select name="sugbsegment">
                        <option>BA - AntiP/Deo</option>
                        <option>BH - Hair Care</option>
                        <option>BK - Skin Care</option>
                        <option>BO - Oral Care</option>
                    </select></td>
                <td>
                    <input name="potential" type="text"></td>
            </tr>


        </tbody>
    </table>

5
Help for ParamQuery Grid (free version) / use select input on grid
« on: December 26, 2013, 12:20:45 pm »
Hi,

I am using http://paramquery.com/demos and using CRUD on grid. here i see all are input text. i want to use option set (select box) on grid. how can i achieve this ?


Regards,
Lalit

Pages: [1]