Posts

javascript - Multiple Table Update On (Hands On Table) -

Image
i using handsone table on 3 seperate instances of tables. i declare them can see here. when try save them, data each of tables. to surprise, consolidates of tables. in first picture filled settlement table. i expecting handsontable('getdata') should take data on table. not of data in of handsontable in page. there must cause of why happening? when initializing handsontables, using restarg 3 of instances. using same datasource? you may want have read " understanding binding reference ": http://handsontable.com/demo/understanding_reference.html

A better way to add apostrophes with SQL? - Access VBA -

i'm in middle of creating notepad application access - stay sharp. i've created form housing notepad , several buttons varied functions. notepad saved table called tblcontents memo - because of limit of 255 characters found text. i copied large amount of text , became aware of apostrophe problem. see when saving text table run sql statement which, when adding apostrophes, needs of syntax (which can't remember @ point) in order run. to maintain user entered, apostrophes , all, there way add using same sql? don't want loop through input , have remove apostrophes. here's code adding input user: 'save memo public sub savememo() 'examine memo object forms!frmnotepad!memo 'set focus memo in order length .setfocus if len(.text) > 0 'save table dim memocontents string memocontents = .text dim strsql string strsql = "insert tblcontents (contents)" & _ ...

eclipse - Need to sign and zipalign apk project for android marketplace -

i'm new here , have been reading through of similar questions can't find i'm looking for. we have adroid app has been developed third party(outsourced) , when tried upload onto googleplay says file needs zipaligned. weren't involved in development of app can't seem sorted. i have imported apk file eclipse doesn't let me export android project - doesn't seem recognise it! any appreciated driving me mad now! command "zipalign 4 yourappname.apk" , or ask developer you.

javascript - store all value in variable with comma separate -

i try lat , long value url using ajax. this:- $(function() { var region = "rajkot,jamnagar,surat"; var cn ="in"; var array = region.split(','); for(var item in array) { var lat; $.ajax({ url: "http://services.gisgraphy.com//geocoding/geocode?address="+array[item]+"&country="+cn+"&format=json", async: false, datatype:'jsonp', success: function(data){ lat = data.result[0].lat; lng = data.result[0].lng; alert(lat); } }); } here got latitude , longitude value. want lat value in 1 variable comma seprate. , lng value in variable comma seprate. how possible. help. thanks.... var lat = new array(), lng =...

firefox - How to inspect elements using Firebug while building a custom addon -

i building custom firefox addon,but unlike chrome can inspect html within extension cannot same ff. i need style html. clues on how can go this? you can inspect xul , html structure of add-on using dom inspector . to following: start extension , steps until want inspect html open dom inspector via firefox menu > web developer > dom inspector select document of extension via file > inspect content document or file > inspect chrome document then you'll see structure , should able inspect element inside of via inspector tool, accessible via button in upper right corner , works similar 1 in firebug clicking on element inside extension. this tool used firebug working group inspect html structures inside firebug.

java - general purpose Comparator for a TreeMap<Object, T>? -

i need treemap<object, hghandle> objects neither comparable nor there common comparator<object> . the order in tree beeing relevant tree itself, there general comparator use tree? info: want add trivial caching mechanism of database-like library, specialized bulk import. since memory-consuming task, prefer use tree-based map on hashmap, bulkimportcache becomes more space efficient , can grow , shrink required. in order able use treemap must able compare instances intend store in map . might have comparator knows different types of object can stored in map , delegates type-specific comparators based on type. way slice it, must provide comparison mechanism , 1 not exist non- comparable objects.

sql - mysql - MyISAM or InnoDB - Join speed vs Lookup speed -

read question before closing duplicate pls., because there many questions this, @ least didn't find looking for. what clear now: myisam faster @ searching strings (much faster) innodb faster @ joins (much faster) so problem this: have following setup: two tables, lets t1 having columns id , bla1 , bla2 , ..., blan ; , t2 having columns t1id , extra1 , extra2 , ..., extran . table 1 (t1) innodb (needs transactions on that's clear). table 2 (t2) used t1 (is data specific cases), there join between ever t2 appears. point innodb. thing after join search done (always) string inside 1 of columns. point myisam. time sum between join time , search time. problem if optimize 1 make other slower. bonus facts: tables really big, t2 never needs transactions, row lock or whatever impose innodb. what better choice? myisam or innodb? the way sure create 2 tables, load them sample data , measure queries. in general recommend use innodb: since mysql 5.6 full-...