jQWidgets Forums

Forum Replies Created

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

  • ChaseRLewis73003
    Participant

    Hey Hristo, I’ll whip up something but might be a couple days before I can get it to you as while it is desired to have it fixed I have a couple higher priority items with the company at the second. Hopefully get it to you before the end of the week.

    in reply to: Align text in edit mode? Align text in edit mode? #94665

    ChaseRLewis73003
    Participant

    Found the answer. Set the ‘textAlign’ value in the initeditor callback.

    initeditor: function(row,cell,editor)
    {
    editor.jqxDateTimeInput({textAlign: ‘center’});
    }


    ChaseRLewis73003
    Participant

    If above the grid they’d still need to be virtualized and synced to the grid scrolling in some manner, also my everpresentrow column doesn’t add data rows so that doesn’t fit as a solution. Definitely can design something, but it will be hack / workaround.

    I’d recommend since virtualization is the main draw of the jqxgrid (large amounts of data with relatively static performance) this is at least mentioned in the documentation with fairly notable text. Virtualization is what sells the grid (the reason for the good performance with lots of data), it should at least be mentioned in the documentation if a feature explicitly doesn’t support the grids most important feature. This can critically effect development to spend time on features and find out the grid has failings in certain features. Especially if it is the jqwidgets team’s decision to explicitly not support virtualization within a given feature. That makes that feature inherently unsuitable to certain types of data.

    I will look into other solutions and might have to modify the jqxgrid itself, but not supporting virtualization in some features (when basically all others do) is not a sensible design philosophy in a component like this. I hope you consider a fix for this in a future release.


    ChaseRLewis73003
    Participant

    Hey Peter,

    Knowing if the shift key is down doesn’t tell me which is the last ‘select’ event. The total number of indexes returned by the grid changes for each event so the first ‘shift’ event does not have all the indices I need returned with the event. I need to get the list of all indices after the selection is complete which means I need to detect which is the last select event with the shift operation because of how the grid presents the event data.

    Only thing I can think of is a time based method with a timeout, but that seems pretty hacky / suboptimal. Any option supported by the grid would be preferred should it exist.


    ChaseRLewis73003
    Participant

    Found a better way then refresh with ‘updatebounddata’ function with the ‘cells’ parameter. You can set a lot of data manually then just call that and minimize your draw calls.


    ChaseRLewis73003
    Participant

    I guess a better way to word my question is ‘can i give precedence to a dropdown list on an already selected row, after calling refresh?’


    ChaseRLewis73003
    Participant

    Hey Peter, I feel the jsFiddle and instructions weren’t even paid attention too. The grid never loses focus. You create a selection entirely within the grid. Even checking with console I can see the grid never loses focus but keyboard navigation breaks and never returns no matter how you click or even if setting focus programatically. You can do this all day and have no issue until you begin a drag selection from the checkbox field.

    Any assistance (preferably after testing jsFiddle with simple replication steps provided) is much appreciated.

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