jQWidgets Forums

jQuery UI Widgets Forums Grid Multiple Fields per column possible?

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Multiple Fields per column possible? #25185

    Lloyd
    Member

    I’m considering using jqxgrid to allow users to enter financial forecast data by month. They need to see the values entered for the previous year to assist them. The grid would have a cost category column (e.g. Software) followed by a column for each month that would show last year’s forecast, underneath this would be a text box to enter this years forecast. For example:

    ————————————————————————–
    |Category |..Jan.. |..Feb..|..Mar..|..Apr..|………
    —————————————————————————
    |Software |$ 100 |$ 200 |$ 300 |$ 100 |………
    |………………|$ NNN|$ NNN |$ NNN |$ NNN|………
    —————————————————————————

    The top set of numbers in each row are read only fields (or labels) showing the previous year’s forecast. The “NNN” represents an input field for this year’s forecast.

    I’d like to use inline editing. The backend is a SQL Server database accessed via PHP.

    Is this possible with jqxgrid? Does anyone have any example code? Is there a better way to do this?

    Multiple Fields per column possible? #25207

    Peter Stoev
    Keymaster

    Hi,

    There is no such built-in data binding behavior. However, it is possible to manually add new rows, columns and fill the Grid with data in unbound mode like in this sample: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/spreadsheet.htm?web.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.