728x90
반응형
SMALL


                <Cell col="2" text="bind:rowNumber" textAlign="center" edittype="expr: rowNumber == '' ? 'text' : 'none'"/>

 

rowNumber가 ''으로 빈값이면 수정모드, 값이 있다면 변경불가

728x90
반응형
LIST

'개발' 카테고리의 다른 글

[Nexacro][Grid] 개행  (0) 2024.09.20
[Nexacro][Grid] Dataset 중복체크  (0) 2024.06.04
[Nexacro][Grid] cell edit  (0) 2024.05.22
[ios] FirebaseApp.configure()  (0) 2023.10.25
[ios] FirebaseAppDelegateProxyEnabled  (0) 2023.10.25
728x90
반응형
SMALL

 

 

<Grid oncellclick="grd_oncellclick">
 <Formats>
  <Format id="default">
   <Columns>
    <Column size="80"/>
    <Column size="100"/>
    <Column size="80"/>
   </Columns>
   <Rows>
    <Row size="30" band="head"/>
    <Row size="30" band="head"/>
    <Row size="30"/>
   </Rows>
   <Band id="head">
    <Cell rowspan="2" text="Date"/>
    <Cell col="1" rowspan="2" text="A"/>
    <Cell col="2" rowspan="2" text="T"/>
   </Band>
   <Band id="body">
    <Cell textAlign="center" text="1" edittype="text"/>
    <Cell col="1" textAlign="center" text="2" edittype="text"/>
    <Cell col="2" textAlign="center" text="3" edittype="text" cssclass="last"/>
   </Band>
  </Format>
 </Formats>
</Grid>
 

cell에서 edittype을 원하는 타입으로 적용

 

    obj.setCellPos(e.cell)
    obj.showEditor(true)
    var cellText = obj.getCellText(e.row,e.cell)
    if (cellText != null && cellText.length > 0) {
        obj.setEditSelect(cellText.length, cellText.length)
    }
 
 
728x90
반응형
LIST

'개발' 카테고리의 다른 글

[Nexacro][Grid] Dataset 중복체크  (0) 2024.06.04
[Nexacro][Grid] cell edittype 변경  (0) 2024.06.04
[ios] FirebaseApp.configure()  (0) 2023.10.25
[ios] FirebaseAppDelegateProxyEnabled  (0) 2023.10.25
[react-native][ios] webview 디버깅  (1) 2023.10.05
728x90
반응형
SMALL

에러내용

2023-10-25 09:18:53.922980+0900 10.14.0 - [FirebaseCore][I-COR000003] The default Firebase app has not yet been configured. Add `FirebaseApp.configure()` to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:)` (or the `@main` struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8.

 

FirebaseApp.configure()가 없다는 내용.

 

but

이미 configure에 대한 내용은 들어가있다.

 

다만 nil일 경우에만 실행되도록 해놨었다.

 

여기서 if문 제거하니 해결....

728x90
반응형
LIST
728x90
반응형
SMALL

에러 내용

2023-10-25 09:18:54.046592+0900 10.14.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.

 

ios에서 FCM을 사용할 경우 plist파일에 FirebaseAppDelegateProxyEnabled 내용이 들어가야 한다고 에러가 났다.

 

내용에 맞게

plist파일을 열어서 FirebaseAppDelegateProxyEnabled 내용을 추가 후 boolean으로 한 후 설정값은 NO로 해주면 해결

728x90
반응형
LIST
728x90
반응형
SMALL

리액트 환경으로 개발된 앱 + 화면은 vuejs

 

이런경우 앱 디버깅을 위해서는 xcode의 Product>scheme>edit scheme

 

debug executable을 체크한 후

 

 

사파리의 개발자모드에서 바로 가능했었다.

 

그러나 최근 추가적으로 변경된 내용이 생겼는데

WKWebview에서 속성을 추가해줘야 한다.

 

전체 검색으로 inspectable을 찾은 후 적절한 위치에 해당값을 YES로 고정해주면 된다.

 

 

      _webView.inspectable = YES;

 

물론 이 설정은 위 디버크 체크하는 곳 위에서 릴리즈로 빌드하기때문에 필요한 것으로

빌드를 디버그용으로하면 상관없다.

728x90
반응형
LIST
728x90
반응형
SMALL

XCode를 15로 버전 업 이후

React-native(0.71.8)로 제작된 ios앱에서 빌드시 에러 발생

 

No Template named 'unary_function' in namespace 'std'; did you mean '__unary_function?

원인

unary_function 및 bin_function은 더 이상 C++17 및 최신 표준 모드에서 제공되지 않습니다. _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION을 사용하여 다시 활성화할 수 있습니다.

해결방법

Pods 에서 Build Settings > Preprocessor Macros > Release or Debug > _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION 추가

 

빌드 및 인스톨 성공!

참고 : https://github.com/facebook/react-native/issues/37748

 

Build fails for Xcode 15 Beta 1 (and Beta 7) · Issue #37748 · facebook/react-native

Description When building with Xcode 15 Beta 1, building fails with a C++ issue in boost: › Compiling react-native Pods/RCT-Folly » json.cpp ❌ (ios/Pods/boost/boost/container_hash/hash.hpp:131:33) ...

github.com

 

728x90
반응형
LIST
728x90
반응형
SMALL

react-native 환경으로 제작한 모바일앱에 대한 빌드를 실행하는 중 발생한 에러

 

error:0308010C:digital envelope routines::unsupported

 

node 버전이 안맞으면 이런 경우가 발생한다고 한다.

 

node 버전을 변경하면 잘 되리라 믿어본다 ㅎ

 

node -v

버전 확인결과 20

 

sudo npm install -g n

n 플러그인 설치 > Node 버전 관리를 쉽게 해준다고 한다.

 

sudo npm cache clean --force

캐시 삭제

 

sudo n 10.16.0

10.16.0 버전의 node 설치

 

node -v

버전 확인 결과 10.16.0

 

정상동작 확인 완료

 

 

참고 : https://onlydev.tistory.com/114

 

'digital envelope routines' 에러 시 해결 방법(Node.js 버전 관리)

React Admin을 사용해보고 싶어서 CRA로 세팅을 했는데 서버가 켜지지 않는 에러가 발생했다. 처음 있는 일이라 당황하다가 에러 키워드로 구글링해보니 금방 해결방법을 찾을 수 있었다. 알고보니

onlydev.tistory.com

 

728x90
반응형
LIST

+ Recent posts