Checkbox selection model - check column header text
Vote count: 0 I have a checkbox selection model that I am using on a gridpanel. I have configured the CheckboxModel like so: Ext.create('Ext.selection.CheckboxModel', { mode: 'Single', checkOnly: true, showHeaderCheckbox: false }); This configuration allows the user to select only one record from th...
Page through dataset without getting new dataset in MVC c#
Vote count: 0 I have 3 different functions on my page. 1.) Search, 2.) Sort and 3.) Paging I have all of this working, but I was wondering if anyone know how, or can point me somewhere that shows how to save, per user, the dataset so they can sort and page without searching again and then also when ...
Match against a null pointer in rust
Vote count: 0 Is it possible to match against a null pointer in rust? Calling is_null() does feel a bit odd. fn do_stuff(ptr: *const i32) -> Option<i32> { if ptr.is_null() { None } else { Some(do_transform(*ptr, 42)) } } asked 5 mins agoFlorian Doyon Let's block ads! (Why?)
WaitForDrawerClose blocks printing
Vote count: 0 I'm writing an application that uses Pos for .Net, and I'm noticing that if you call WaitForDrawerClose, then you won't be able to print receipts until it has retu ed. This is not desirable behavior. Is there another way to wait for the cash drawer to close without blocking the printer...
HBase scan values without their id
Vote count: 0 I am trying to create a list with HBase on Java. I can get values all together, but I am confused how to assign them to variables.(String bookName = ...,String bookAuthor = ...) I need to get all values which are in contribute table, and assign them to variable. In contribute table, th...
Double Scrollbar Appearing
Vote count: 0 I have a double scrollbar appearing in some of the pages on my site. I've tried to set the html and body to overflow:hidden (with !important;) to no avail. I'm using Chrome and the pages the double scroll appears is on my "about" page and on my "newsroom" page. Yesterday, the scrollbar...
Codename one, Android theme.res seems to be broken
Vote count: 0 My theme.res file was working before i started adding png images. Now it doesn't work when i choose "Override in Platform" for Android Phones. But on other platforms(Android Phones&Tablets, IOS Win etc) i can see the preview of the form design on the right of the GUI builder. I test us...
How to update data using jquery?
Vote count: -1 i want to update my data using jquery, so is this correct syntax in jquery for updating data because i am using below code but not data updated. so can you help me with correct syntax? for example :- snippet code Net_Wt: $("#txtnetwt").val() Is it correct syntax? asked 3 mins agojaini...
php convert date to mysql format
Vote count: 0 I gone through convert php date to mysql format but still i have few issues and questions, In general, my application can input dates in Y-m-d, d-m-y, m-d-Y, jS, F Y format, or even with '/' separator. I want this dates to be converted to in mysql Y-m-d format, I tried as below, but it...
How to open as popUp instead of New Tab
Vote count: 0 This question is frequently asking, I am looking for answer too. However I could't find, I have tried lots of example. While trying, I closed pop-up blockers and other restriction. If new age browsers, automatically block pop-ups, according to me it is unlogical to use 'window.open()'....
Get all the Quickblox groups list from server
Vote count: 0 I am using quickblox api 2.5.1 in android for chat, I want to get all the quickblox groups list which is available in quickblox server.Currently i am getting the list of groups which is created by me or which i am the member of that group. asked 3 mins agoPranav Darji Let's block ads! ...
Form a new array with mismatched elements of two arrays in php
Vote count: 0 I am new in PHP and now i'm facing a problem with arrays. I have two sets of arrays.I want to form a result array which contains all the mismatched elements in both the array. eg: array1=Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 ) array2=Array ( [0] => 1 [1] => 2 [2]=>9) res...
Debian 8.4 gammu 1.33 connection issues
Vote count: 0 I have installed gammu, gammu-smsd and libgammu-i18n to debian 8.4. I configured to use it ttyUSB0 and at115200, model auto. When I run gammu-detect it will find Phone on USB serial port Prlific_Technology_Inc. USB-Serial_Controller, co ection at Device is Siemens MC35i but when I run ...
E6 arrow functions reduce an array of object to single object
Vote count: 0 I've an array like: a=[{'test':1,'test2':'2'},{'test':3,'test2':'4'}] I'm trying to reduce this array to one object Expected output {1:2,3:4} I've tried: let newObj = a.reduce((pre,curr)=>Object.assign({},{curr.test:curr.test2}))//unexpected token at . let newObj = a.reduce((pre,curr)=...
angular 2 rc1 how to import external js library
Vote count: 0 I am trying to use joint.js with Angular 2. Here is what I did. index.html <!-- JoinJS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jointjs/0.9.7/joint.css" /> <script src="https://code.jquery.com/jquery-2.2.1.min.js"></script> <script src="https://cdnjs.clou...