filter

filter

์›ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋งŒ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ์œ„ํ•ด ํ•„ํ„ฐ๋ง ์กฐ๊ฑด์„ ์„ค์ •ํ•œ๋‹ค. ์ขŒ์ธก [๋ฐ์ดํ„ฐ์ฒ˜๋ฆฌ(๊ธฐ๋ณธ)]๋…ธ๋“œ ์ค‘ [filter]๋…ธ๋“œ๋ฅผ drag & drop ํ•œ๋‹ค. Property ํŒจ๋„์˜ [๋”๋ณด๊ธฐ+] ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ์ž…๋ ฅ๊ฐ€๋Šฅํ•œ ์ „์ฒด Property ํ•ญ๋ชฉ์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.

prebasic025

  1. filters : filtering ์˜ต์…˜์„ ์„ ํƒํ•œ๋‹ค.

    • col : ํ•„ํ„ฐ๋ง ๋Œ€์ƒ ์ปฌ๋Ÿผ ์„ ํƒํ•œ๋‹ค. ํ™•์ธํ•ด์•ผ ํ•  ์ปฌ๋Ÿผ์ด ์—ฌ๋Ÿฌ ๊ฐœ์ผ ๊ฒฝ์šฐ ์ขŒ์ธก [+]๋ฒ„ํŠผ์„ ์„ ํƒํ•œ๋‹ค.
    filterOption
    less than(<)
    less than or equal(<=)
    equal(=)
    not equal(!=)
    greater than or equal(>=)
    greater than(>)
    contains
    not contains
    like
    • filterValue : ํ•„ํ„ฐ ๊ธฐ์ค€๊ฐ’์„ ์ž…๋ ฅํ•œ๋‹ค. ๋ฌธ์ž์—ด ์ž…๋ ฅ์‹œ ์Œ๋”ฐ์˜ดํ‘œ("")๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฌธ์ž์—ด์„ ๊ฐ์‹ธ์ค˜์•ผ ํ•œ๋‹ค.
  2. filterOperator : ํ•„ํ„ฐ ์‚ฌ์ด์˜ ์กฐ๊ฑด ์—ฐ์‚ฐ์ž๋ฅผ ์„ ํƒ(AND, OR)ํ•œ๋‹ค.

  3. useCustom : ์‚ฌ์šฉ์ž ์ž…๋ ฅ ๊ธฐ๋Šฅ ์‚ฌ์šฉ ์‹œ ์„ ํƒํ•œ๋‹ค.

  4. customCondition : ์‚ฌ์šฉ์ž๊ฐ€ ์›ํ•˜๋Š” ์กฐ๊ฑด์‹์„ ์ง์ ‘ ์ž…๋ ฅํ•œ๋‹ค. 1๋ฒˆ Property๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์—†๋Š” ๋ณต์žกํ•œ ์กฐ๊ฑด์˜ ๊ฒฝ์šฐ ์‚ฌ์šฉํ•œ๋‹ค.

prebasic026

์‚ฌ์šฉ์ž์ž…๋ ฅ ๊ธฐ๋Šฅ ํ™œ์šฉ ์˜ˆ์‹œ๋Š” ์•„๋ž˜์™€ ๊ฐ™๋‹ค.

prebasic027