jqgrid cell edit and after event 페이징 처리 때문에 화면에 줄이 아니라 전체에서 확인 필요 rowid 사용 하면 안된다

afterEditCell : function ( rowid ,  cellname ,  value ,  iRow ,  iCol ){  console . log ( rowid + "///" + iRow + "//////" + iCol );     $ ( "#"   +   iRow   +   "_"   +   cellname ). blur ( function (){   console . log ( "-------------1" );        $ ( "#grid" ). jqGrid ( "saveCell" , iRow , iCol );    console . log ( "-------------2" ); }); // 페이징 때문에 },

jqgrid 복수의 컬럼 row 합치기

  loadComplete : function ( data ){ $ ( "input[type=radio]" ). prop ( 'disabled' , true ); //radio disabled var allRows = $ ( "#grid" ). jqGrid ( 'getGridParam' , 'records' ); initPage ( "grid" , allRows , "" ); var ids = jQuery ( "#grid" ). jqGrid ( 'getDataIDs' ); var gridData = $ ( "#grid" ). jqGrid ( 'getRowData' ); var grid = $ ( "#grid" ); var addColName = [1,2,3,4,5]; $ . each ( addColName , function ( index , colName ) { console . log ( "인덱스: " + index + ", 값: " + colName ); var prevCellVal = { cellId: undefined , value: undefined }; var cellIndex = $ ( "#grid" ). getGridParam ( 'colModel' ). findIndex ( function ( col ) { return col . name === colName ; }); // console.log('cellIndex:...

jqgrid cell 값이 같은 경우 병합 처리 (지정한 복수의 건 처리)

  var grid = $ ( "#grid" ); var addColName = [ "buy_dt" , "claim_no" , "car_no" ]; $ . each ( addColName , function ( index , colName ) { console . log ( "인덱스: " + index + ", 값: " + colName ); var prevCellVal = { cellId: undefined , value: undefined }; var cellIndex = $ ( "#grid" ). getGridParam ( 'colModel' ). findIndex ( function ( col ) { return col . name === colName ; }); console . log ( 'cellIndex:' + cellIndex );     var   i ,  rowId ,  cellValue ,  rowspan ;       for  ( i   =   0 ;  i   <   ids . length ;  i ++ ) {   rowId   =   ids [ i ];                       cellValue   =   grid . jqGrid ( 'getCell' ,  rowId ,...

PHP apple 소셜 로드인 이용 회원 가입시 full name 가져오기

  PHP apple 소셜 로드인 이용 회원 가입시 full name 가져오기 1. 최초 로그인 시도 하는 경우 가능 2. 그다음 부터는 애플에서 안 준다. 3. 테스트 위해서는 애플 로그인 미사용 앱으로 만들어서 로그인 해야 준다. https://account.apple.com/ if ( isset ($_POST['code'])) { $code = urlencode ($_POST['code']); // token echo "<br>____________________________$code"; $token = explode('.', $_REQUEST['id_token']); echo "<br>1____________________________$token[1]"; echo "<script>console.log('$token[1]')</script>"; $id_token=base64_decode($token[1],true); $user_data = $_POST['user']; // user $user_data_name = json_decode($user_data, true); $user_array=(array)$user_data_name ; $user_array_name =(array)$user_array['name']; $user_array_fullName =$user_array_name['lastName'].$user_array_name['firstName']; $token_data = json_decode($id_tok...

ios flutter webview safeArea setting notouch 영역 다음에 웹뷰가 보인다

  runApp( MaterialApp ( home: SafeArea (child: InAppWebView ( initialUrlRequest: URLRequest ( url: WebUri . uri (Uri. parse (conDomain)), ), onWebViewCreated: (controller) async { webView = controller; Cookie? cookie = await cookieManager.getCookie(url: conUrl, name: "PHPSESSID" ); debugPrint( "333333:" +cookie.toString()); }, initialSettings: options, ), ) ));

apple singn in web php redirect id_token parsing

<?php echo "<br>____________________________"; echo "<br>____________________________$check_res"; if (isset($_POST['code'])) { $code = urlencode($_POST['code']); // token echo "<br>____________________________$code"; $token = explode('.', $_REQUEST['id_token']); echo "<br>1____________________________$token[1]"; $id_token=base64_decode($token[1],true); $token_data = json_decode($id_token, true); // $decode_array = json_decode(base64_decode(str_replace('_', '/', str_replace('-','+',explode('.', $token)[1]))), true); echo "<br>2____________________________$token_data"; $token_array=(array)$token_data ; echo "<br>4_token_array___________________________$token_array"; $token_array_sub =$token_array['sub'...

flutter

  List< dynamic > body = await json.decode(response.toString());