jQWidgets Forums

jQuery UI Widgets Forums Grid jqxgrid

This topic contains 14 replies, has 4 voices, and was last updated by  Peter Stoev 11 years ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    jqxgrid Posts
  • jqxgrid #53320

    vls
    Participant

    Is there a way to know that the jqxgrid has data or no data?

    jqxgrid #53325

    Peter Stoev
    Keymaster

    Hi vls,

    The “getrows” method of jqxGrid returns the data displayed in the width. If the result’s length member is 0, then the Grid is empty.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxgrid #53830

    vls
    Participant

    Thanks Peter

    jqxgrid #55452

    vls
    Participant

    Is there a way to know that selection mode checkbox is checked? which is used to select all rows in grid.

    I want to select only filtered rows when filter is applied and selection mode checkbox is checked

    jqxgrid #55472

    priyanknaik88
    Participant

    Hi Peter,

    I am trying to select multiple row’s values of a particular column and want to paste those values to rest of the columns for those particular rows in grid.

    Can you please suggest any solution for the same.

    jqxgrid #55473

    Peter Stoev
    Keymaster

    Hi priyanknaik88,

    If you want to select values only from only column, use any of the available multiple cells selection modes, select your cells, press Ctrl+C and then select the cells you want to paste your values and press Ctrl+V.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxgrid #55490

    priyanknaik88
    Participant

    Hi Peter,

    I have one grid. I have to enter data in that grid in a particular column.Then I have to copy and paste that data to multiple column . But my requirement is after entering data in a particular column I have to select few rows among them then click one button. On clicking of that button
    one window should open. In that window I will have one textfield. In that textfield I have to enter some value there. That value is next number of columns to be pasted the value i have selected from the grid. So can you please suggest providing some code regarding my request.

    regards
    Priyank

    jqxgrid #55495

    Peter Stoev
    Keymaster

    Hi Priyank,

    I can suggest you to use the “setcellvalue” method to update the value of a cell or “updaterow” method to update a full row.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxgrid #55500

    vls
    Participant

    Hi Peter,
    Is there a way to know that selection mode checkbox is checked? which is used to select all rows in grid.

    I want to select only filtered rows when filter is applied and selection mode checkbox is checked

    jqxgrid #55502

    Peter Stoev
    Keymaster

    Hi vls,

    When you check the checkbox it will select only the filtered rows in ver. 3.3.0.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxgrid #55549

    RaviShah
    Participant

    Hello,

    I am new to this jqx-grid and having basic idea about it.
    I am just wondering that if there is some way to fill jqx grid row by row?
    For example:
    Suppose I am having table “Test” with 3 rows and 3 columns with data like:
    1st row: A,B,C
    2nd row: D,E,F
    3rd row: G,H,I

    And I will get data row wise like [[A,B,C],[D,E,F],[G,H,I]]
    so it should render above data to jqx grid row by row through array.

    Thanks in advance.

    jqxgrid #55580

    priyanknaik88
    Participant

    Hi Peter,

    How to get multiple rows indexes ? I am able to get it but at last it is show some undefined value. any suggestion?

    jqxgrid #55581

    Peter Stoev
    Keymaster

    Hi priyanknaik88,

    What kind of row indexes are you looking for? The “getrows” method allows you to get all rows, but it returns the rows data, not the rows bound or display indexes.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxgrid #55632

    priyanknaik88
    Participant

    Hi Peter,

    I want the indexes for selected rows of particular column. For example I have a grid , in that multiple rows(suppose 10 rows). Suppose i have data in one column . so I want to select few rows randomly . get the value of selected rows and paste in rest of the column at a time
    . on click on a button.

    regards
    Priyank

    jqxgrid #55633

    Peter Stoev
    Keymaster

    Hi Priyank,

    The “getselectedrowindexes” method returns the selected row indexes as an Array. Please, take a look at the Grid’s API page for additional details about the method.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.