Dzmitry

About

Username
Dzmitry
Joined
Visits
256
Last Active
Roles
Member

Comments

  • Hey @vsinner, the syntax for this is the same as it is in JavaScript, if you are getting an error while trying to call this method using TypeScript (and the error is connected with type definitions), as a workaround in webix.global.d.ts replace this…
  • Hey @leod1481, you can make use of the insertColumn method to dynamically add columns to the spreadsheet and use the onBeforeEditStart event (by referring to the datatable part of the spreadsheet) to check for the proper conditions (check if cell is…
  • Yes, I did test the provided link beforehand on a mobile device, the column will simply take up all of the available space that is left to spare, since the other columns have a defined width, all of the column content won't be able to fit inside. T…
  • As I mentioned before, you could try webix.fullscreen API instead. It's got 2 methods: set, which will enter the fullscreen mode, and exit, which will do the opposite. So instead of: document.body.webkitRequestFullScreen(); you would use webix.f…
  • Hey @shiv, you can make use of a fillspace property of the datatable columns to make ccolumns take up the free space available and make them responsive: https://snippet.webix.com/x16dsntq. Here is an example to try out on your mobile device: https:…
  • Could you please verify that you are indeed on the version 6.4.4 by running webix.version in your console (it should return "6.4.4")? Also, please try clearing cache and running the import one more time. Additionally, could you please specify the br…
  • Could you please elaborate? My example from above includes the handling of this situation: if (index1 > index2) { $$("table2").moveColumn(column, index1 + 1); //left to right } else { $$("table2").moveColumn(column, index1)…
  • Hey @pratikshadatir1, you can set the value of the text input using setValue() right after you've dynamically added it to the layout. For example, you can use it straight after the addView function call in your code: https://snippet.webix.com/4dgvt…
  • In the provided example I've only focused on one element of the layout, if your intention is to put your whole app in the fullscreen mode you can do that as well: https://vtesting3.netlify.com/. Note that the touch still works (the code used is the …
  • Hey @kirilldonenko, could you please specify the version of Webix you are using and your browser of choice? There was a bug with the latest Chrome update that would break Webix imports. The bug has been recently fixed in the latest version (6.4.4). …
  • Hey @Yryskul, since JetViews are created asynchronously, you should wait for the view (and all of the included subviews) to render (using ready()) and only then call the getSubView method: https://snippet.webix.com/lot0woj8.
  • You can make a check to see if the focus shifted from one window to another using getParentView and the incoming previous/current view parameters: https://snippet.webix.com/vk5cjth9.
  • Yes, I am talking about restore here. Please try this snippet: https://snippet.webix.com/8aqyem9a. Save your state with autoplace: false and then change it to true and try to restore the state (the placement will be off).
  • Hey @Getty, this is actually the intended behaviour by default. Even without performing a restore you can try and make an empty row at the top, and the panels will get autoadjusted to fill the empty space. This is happening because of the autoplace …
  • Hey @duynq2197, let's go over the problems you are having: 1.I've tried running a sample with your provided use case on a touch device, and the touch seemed to work just fine with webkitRequestFullscreen() enabled. Please make sure you've included …

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!