jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: TypeScript TypeScript #92589

    codz30
    Participant

    We’ve been building jQWidgets (v4.5.0) and have been coming across a Typescript definition issue in jqwidgets.d.ts. In particular line 9 where $ was declared as type ‘any’, instead of type ‘JQueryStatic’

    Wanted to know if anyone has come across this compilation issue?

    We have a workaround to find-replace ‘any’ with ‘JQueryStatic’, but wanted to know whether this can be officially fixed.

    in reply to: Grid Autoscroll on AddRow Grid Autoscroll on AddRow #91341

    codz30
    Participant

    Thanks Peter,

    Using the ensurerowvisible command is undesirable because when the row is added the scroll is set to the top, then ensurerowvisible would move the scroll back to a set row. Whilst this may be suitable for adding rows at a slow rate, if data is added at a meaningful rate, the scroll position would be oscillating between the top row and the ensurerowvisible row.
    This oscillation would render the scroll bar useless for a user, because it would be moving so often.

    Thank you for your prompt feedback.

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