jQWidgets Forums

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts

  • monica.moga
    Participant

    Hi Peter,

    Sorry, i’m not sure if I fully understand your suggestion.

    I need in the same grid columns from both levels:
    FacultyName | AverageGrade| Grade1| Grade2| …

    where Grade1 would need to be the datafield mapped like : “Students > 0 > Grade” and Grade2 a similar one “Students > 1 > Grade”

    Do you suggest something like this?
    datafields:[{name:’Student1′, map:”Students>0″},{name:”Grade1″,map:”Student1>Grade”}]
    and then use Grade1 datafield to the corresponding column? -> I don’t see any difference between the 2, except that the mapping is split in two.
    If not, i would be grateful for a bit more detailed explanation.


    monica.moga
    Participant

    Any chance in the near future for an enhancement, which covers the mapping of an observable childarray?

    Maybe a workaround besides creating computed properties with every object from the array on the childarrays parent?

    data=[{FacultyName:’Abc’, AverageGrade:nr, Students:[{Name:’John Doe’, Grade:4}, {Name:’John Smith’, Grade:5}]},
    {FacultyName:’Xyz’, AverageGrade:nr2, Students[]}]

    where data and Students are observable arrays.
    I’ve tried to map like
    datafields: [
    { name: ‘Grades’, map: ‘Students> 0 > Grade’ },
    ]
    But it doesn’t work as intended.
    I was also wondering if its possible to index dynamically somehow?


    monica.moga
    Participant

    Hi Peter,

    This could be a show stopper for us if we do not find an alternative. Are you sure this will never be implemented in jqwidgets?Is there a way of requesting this enhancement? I am asking because this might affect the decision of using this library. Is this related to some technical constraints?

    Thank you and best regards,
    Monica


    monica.moga
    Participant

    Hi Peter,

    Do you have any plans to implement this requirement in the near future? ( row details with dynamic height for nested grids)

    Best regards,
    Monica

    in reply to: TreeGrid DataSource TreeGrid DataSource #72143

    monica.moga
    Participant

    Hi,

    I figure it out. We can change the same array that we provided as a data source, because the grid seems to keep a reference to it.
    http://jsfiddle.net/y6k9b94r/9/

    Br,
    Monica

    in reply to: TreeGrid DataSource TreeGrid DataSource #72089

    monica.moga
    Participant

    Hi Ivailo,

    Could you please let me know if this is the proper way of changing the data from the source of a treeGrid( dataAdapter._source.localData() )? From my point of view it seems that I am accessing directly a private member but I didn’t find another way. Is there a method which I could use?

    Thank you,
    Monica

    in reply to: TreeGrid with Knockout TreeGrid with Knockout #71924

    monica.moga
    Participant

    Hi Peter,

    I have tried to come up with an example on how we should use treegrid integrated with knockout and unfortunately it is not straightforward to me. Could you please have a look at the code below. Do you have any clue why I get this error:
    Uncaught TypeError: Unable to process binding “jqxTreeGrid: function (){return { source:dataAdapter,columns:columns} }”
    Message: Cannot read property ‘jqxTreeGrid’ of undefined

    (i have added also a grid just to check if the library is loaded properly but the treegrid is not displayed at all because of the error above)
    http://jsfiddle.net/6qusgoeh/5/

    Best regards,
    Monica

    in reply to: TreeGrid with Knockout TreeGrid with Knockout #71795

    monica.moga
    Participant

    Hi Peter,

    Do you know by when will we have an example available for TreeGrid and knockout?Is there any documentation where I can have a look?

    Thank you,
    Monica

    in reply to: TreeGrid with Knockout TreeGrid with Knockout #71787

    monica.moga
    Participant

    Where can I find an example? I was searching for “TreeGrid” on knockout integration page (http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxknockout/index.htm ) and I couldn’t find it.

    in reply to: TreeGrid with Knockout TreeGrid with Knockout #71783

    monica.moga
    Participant

    Hi Peter,

    Could you please be so kind and let me know if there are any plans in the near future to integrate the tree grid with knockout? Do you have a timeline for this? This information would be very helpful for the project that my team is developing. This way we could decide if we can use jqwidgets or we should use another approach.

    Best regards,
    Monica

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